PHP checkbox/hidden field question

From: Date: Sun, 01 Sep 2002 23:55:32 +0000
Subject: PHP checkbox/hidden field question
Groups: php.general 
Request: Send a blank email to php-general+get-114857@lists.php.net to get a copy of this message
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

« previous php.general (#114857) next »