you need to define the key for checkbox arrays in order to distinguish them (as only the checked ones will be posted).. something like ...
<td><input type="checkbox" name="d_c_arr[<?php echo($count++); ?>]"></td> Tim Ward www.chessish.com > -----Original Message----- > From: Paul Maine [mailto:[EMAIL PROTECTED]] > Sent: 02 September 2002 00:56 > To: PHP PHP > Subject: PHP checkbox/hidden field question > > > I am executing the follwoing statement as part of a "while" > loop. This is > part of a form and I wish to pass the name and value of the > checkbox as a > hidden field only is the checkbox is checked. Can you suggest > how I can > accomplish this task? > > > <td><input type="checkbox" name="d_c_arr[]" value="<?php echo > $db->f("order_id") ?>"></td> > > Thank You > Paul > php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php