RE: [PHP] hidden types
| From: | Johnson, Kirk | Date: | Fri, 28 Sep 2001 22:29:40 +0000 |
| Subject: | RE: [PHP] hidden types | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-69226@lists.php.net to get a copy of this message | ||
I would think so, give it a try!
Kirk
> 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?