Sessions and CHECKBOXES :(

From: Date: Sat, 17 Mar 2001 01:10:18 +0000
Subject: Sessions and CHECKBOXES :(
Groups: php.general 
Request: Send a blank email to php-general+get-44348@lists.php.net to get a copy of this message
i ve 20 film names stored at database, and i want to show them in alphebetical order. And i want to show 10 of them at each page. Nothing is wrong here. At the end of each film name there is a CHECKBOX, here is the code: $count = 0; while ($row = mysql_fetch_array($result)){ echo "<tr>"; echo "<td valign=middle align=left>" ; // getting film names here echo $row['film'] ; echo "</td>" ; $sepet = $row['tur'] ; // putting checkboxes here $sepet2 = $row['film']; $sepetsonuc = $sepet. " " .$sepet2 ; echo "<input type=checkbox name=\"siparis[]\" value=\"$sepetsonuc\">" ; echo "</td></tr>" ; $count++; } its good till here. everything is working... now since there are two pages i want to register checkbox variables which are CHECKED with "session_register "so that i can use them at the second page. without that my code simply cant remember the checked ones at the previous pages. Can someone help me to register these checkbox values into sessions ? PLS dont refer me to php.net manual/sessions :( i spent my last two days working on this so really need help :( any help is HIGHLY APPRECIATED!!! thx in adv.

« previous php.general (#44348) next »