udens Posted May 14, 2006 Report Share Posted May 14, 2006 sveiki! kaa php var nolasiiit id kas adreses beigaas piem http://127.0.0.1/view_topic.php?id=9 un view_topic.php mainiigajam $id pieshkjirt to veertiibu Link to comment Share on other sites More sharing options...
ohmygod Posted May 14, 2006 Report Share Posted May 14, 2006 $id = $_GET['id']; Link to comment Share on other sites More sharing options...
Jackal Posted May 14, 2006 Report Share Posted May 14, 2006 if(isset($_GET['id'])) {$id = $_GET['id'];} else {$id = 1 ;} Link to comment Share on other sites More sharing options...
udens Posted May 14, 2006 Author Report Share Posted May 14, 2006 Paldies tagad viss ok Link to comment Share on other sites More sharing options...
andrisp Posted May 14, 2006 Report Share Posted May 14, 2006 if(isset($_GET['id'])) {$id = $_GET['id'];} else {$id = 1 ;} Tad jau labāk $id = (isset($_GET['id'])) ? $_GET['id'] : 1; Link to comment Share on other sites More sharing options...
Vebers Posted May 14, 2006 Report Share Posted May 14, 2006 offtopic: Laikam tagad nav modīgi lasīt manuāli, m? Link to comment Share on other sites More sharing options...
v3rb0 Posted May 14, 2006 Report Share Posted May 14, 2006 (edited) ..bet kurš sākumā lasīja manuāli? :) Edited May 14, 2006 by v3rb0 Link to comment Share on other sites More sharing options...
Vebers Posted May 14, 2006 Report Share Posted May 14, 2006 Bet vismaz sākumā nečīkst pa forumiem, eksperimentē pats utt, ja k-kas neskaidrs google. Nez, ja tiešam neko nevar pēdējā iespēja forums.. Bet nejau tā kā te iet vaļā, 1ns jautajums pēc otra un tik un tā nesaprot, ka aizsūta manuāli lasīt, tac tiem kas izlasa jautajumu ir pavisam maz , katrā ziņā netik muļķīgi.. Ehh.. pat tāda kā cemme, ka šitā čīkst.. Link to comment Share on other sites More sharing options...
Recommended Posts