stencilz Posted January 17, 2007 Report Share Posted January 17, 2007 $_GET['page'] = $page; citur $_SESSION['s_f'] = $page citur header('Location: s_fights.php?page="'.$_SESSION['s_f'].'"') vai šādi vispār var būt? ja var tad kas ir nepareizi jo lapu atver ...?page=%222%22 Link to comment Share on other sites More sharing options...
Kristabs Posted January 17, 2007 Report Share Posted January 17, 2007 header('Location: s_fights.php?page='.$_SESSION['s_f']); Link to comment Share on other sites More sharing options...
stencilz Posted January 17, 2007 Author Report Share Posted January 17, 2007 ideāli, paldies Link to comment Share on other sites More sharing options...
andrisp Posted January 17, 2007 Report Share Posted January 17, 2007 $_GET['page'] = $page; Kāpēc šādi dari ? Link to comment Share on other sites More sharing options...
stencilz Posted January 17, 2007 Author Report Share Posted January 17, 2007 tāpēc ka get katrā nākošajā lapā palielinās par vienu vienību Link to comment Share on other sites More sharing options...
Stopp Posted January 17, 2007 Report Share Posted January 17, 2007 A tur vajag drusciņ otrādi. T.i. $page = $_GET['page']; Tu jau definē mainīgo $page, nevis GET masīva elementu. Var jau būt, ka tev ar kaut kādu PHP konfigurāciju šis darbojas, bet vispārīgi tā rakstīt ir totāli līki. Link to comment Share on other sites More sharing options...
stencilz Posted January 17, 2007 Author Report Share Posted January 17, 2007 nē, viss kārtībā. skriptos man tā arī ir $page= $_GET['page'] vnk šeit tā ierakstīju Link to comment Share on other sites More sharing options...
andrisp Posted January 17, 2007 Report Share Posted January 17, 2007 Nesaprotu. Tipa tu gribi, lai mums vēl grūtāk saprast, ko tu vēlies ? Link to comment Share on other sites More sharing options...
stencilz Posted January 17, 2007 Author Report Share Posted January 17, 2007 cilvēks kurš sniedza atbildi #2 postā taču saprata ko es vēlos Link to comment Share on other sites More sharing options...
andrisp Posted January 17, 2007 Report Share Posted January 17, 2007 Viņš vienkārši redzēja, ka nepareizi esi uzrakstījis. Šaubos vai viņs redzēja jēgu tam $_GET['page'] = $page;. Link to comment Share on other sites More sharing options...
stencilz Posted January 17, 2007 Author Report Share Posted January 17, 2007 un ar to arī tiek izbeigts topiks Link to comment Share on other sites More sharing options...
Recommended Posts