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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]