eFlash Posted March 22, 2005 Report Share Posted March 22, 2005 ka var sanemt sho vērtibu id=5, ar kādu funkciju?? :ph34r: Link to comment Share on other sites More sharing options...
hmnc Posted March 22, 2005 Report Share Posted March 22, 2005 $_GET['id'] Link to comment Share on other sites More sharing options...
SkyD Posted March 22, 2005 Report Share Posted March 22, 2005 ar switch($id) - arii laikam var.. ;) Link to comment Share on other sites More sharing options...
mazaisDeagle Posted March 22, 2005 Report Share Posted March 22, 2005 man ari ira lidzigs jautajums! piem es gribu kad es uzspiezhu uz downloads piemeram man paradas links piem www.triritiit.lv/?lp=downloads Link to comment Share on other sites More sharing options...
Kavacky Posted March 22, 2005 Report Share Posted March 22, 2005 <a href="www.triritiit.lv/?lp=downloads">Downloads</a> Vai tā? Link to comment Share on other sites More sharing options...
mazaisDeagle Posted March 22, 2005 Report Share Posted March 22, 2005 <a href="www.triritiit.lv/?lp=downloads">Downloads</a> Vai tā? 15409[/snapback] Jaa taa bet kaa to panaakt? es saprotu varbut ka shaja gadijuma piemeram jauzliek ka tas downloads ir attieciigi downloads.html vai downloads.php fails laikam ja? bet takaa es to neierubiju tad nu... pasakiet ludzu kas jadara Link to comment Share on other sites More sharing options...
hmnc Posted March 22, 2005 Report Share Posted March 22, 2005 ar switch($id) - arii laikam var.. ;) 15404[/snapback] PHP 4EVA!! labāk gan - MANUAL 4EVA! paskaties ko nozīmē kontroles struktūras, mainīgie, funkcijas. Link to comment Share on other sites More sharing options...
hmnc Posted March 22, 2005 Report Share Posted March 22, 2005 Jaa taa bet kaa to panaakt?es saprotu varbut ka shaja gadijuma piemeram jauzliek ka tas downloads ir attieciigi downloads.html vai downloads.php fails laikam ja? bet takaa es to neierubiju tad nu... pasakiet ludzu kas jadara 15414[/snapback] man liekas, ka programmēšana nav priekš tevis ;) vienīgais, ko varu ieteikt - lasi lasi un vēlreiz lasi. Link to comment Share on other sites More sharing options...
rudzis Posted March 23, 2005 Report Share Posted March 23, 2005 (edited) <? switch($lp) { case "downloads": include("downloads.php"); break; case "dibens": include("peecpuse.htm"); break; } ?> Kaut kā tā. Edited March 23, 2005 by rudzis Link to comment Share on other sites More sharing options...
mazaisDeagle Posted March 23, 2005 Report Share Posted March 23, 2005 vienauga nesanaakk.. a kur var citur internetaa dabut kko tadu? Link to comment Share on other sites More sharing options...
Kavacky Posted March 23, 2005 Report Share Posted March 23, 2005 Atrodi kādu Windows pamācību un apgūsti klaviatūras taustiņu kombinācijas Ctrl + C un Ctrl + V. hmnc laikam taisnība. Link to comment Share on other sites More sharing options...
SkyD Posted March 23, 2005 Report Share Posted March 23, 2005 a kaada shitam saistiiba ar CTRL + C, un CTRL + V? :rolleyes: Link to comment Share on other sites More sharing options...
mazaisDeagle Posted March 23, 2005 Report Share Posted March 23, 2005 man liekas, ka programmēšana nav priekš tevis - to es zinu jaa... Ctrl + C un Ctrl + V es zinu ! nuu man tagad sanaaca bet ir viena lieta.. es izmantoju <? switch($lp) { case "downloads": include("downloads.html"); break; case "dibens": include("peecpuse.htm"); break; } ?> un man sanaak taa. takaa man tas downloads.html izskataas kaa index.html tikai ar citiem textiem tad sanaak ka man vinsh prosta apakksha itkaa zem index.html pieliek klaat to downloads.html un izksataas ka divas lapas kopaa! kas tur pa problzu? Link to comment Share on other sites More sharing options...
Kavacky Posted March 23, 2005 Report Share Posted March 23, 2005 Tāda, ka tajā inklūdojamajā failā jāraksta tikai tas, ko vajag ievietot, nevis pilns lapas kods. SkyD: Ctrl + C & Ctrl + V - copy & paste. Lieti noder, ja vajag izmantot jau gatavu materiālu. Link to comment Share on other sites More sharing options...
bubu Posted March 23, 2005 Report Share Posted March 23, 2005 kas tur pa problzu? 15464[/snapback] Tur nav probzas. Tur viss tieši tā kā tu aprakstīji atbilst tavam kodam. Link to comment Share on other sites More sharing options...
Recommended Posts