hidden types
| From: | Jay Paulson | Date: | Fri, 28 Sep 2001 22:28:59 +0000 |
| Subject: | hidden types | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69225@lists.php.net to get a copy of this message | ||
If you have multiple hidden types but you wanted to use the same name for
each hidden like below:
<input type="hidden" name="id[]" value="1">
<input type="hidden" name="id[]" value="2">
<input type="hidden" name="id[]" value="3">
<input type="hidden" name="id[]" value="4">
<input type="hidden" name="id[]" value="5">
Would:
$id[0] = 1
$id[1] = 2
$id[2] = 3
$id[3] = 4
$id[4] = 5
On the next php page after the form has been submitted?
Thanks,
jay