John Taylor-Johnston wrote:
Me thinks you have to name the checkboxes differently, otherwise the post variable will only take the last value it found, overwriting previous values. Otherwise they act like radioboxes.

print "<TD style='border: 1pt solid black cell-padding: 3px'><input type='checkbox' name=\"id[]\" value=\"".$row["id"]."\"> </TD>";


No, he's passing an array of checkboxes -- see the [] ?

If you haven't seen that done before check out these pages:
http://php.net/language.variables.external#AEN3832
http://php.net/faq.html#faq.html.arrays

--
Jasper Bryant-Greene
Freelance web developer
http://jasper.bryant-greene.name/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to