Re: Sending Form Arrays
| From: | Edward van Bilderbeek - Bean IT | Date: | Mon, 28 Jan 2002 14:24:01 +0000 |
| Subject: | Re: Sending Form Arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82402@lists.php.net to get a copy of this message | ||
try something like this:
<input type=checkbox name=check[0] value='Y'> check 1<BR>
<input type=checkbox name=check[1] value='Y'> check 2<BR>
<input type=checkbox name=check[2] value='Y'> check 3<BR>
<input type=checkbox name=check[3] value='Y'> check 4<BR>
<input type=checkbox name=check[4] value='Y'> check 5<BR>
that should do it...
Edward
----- Original Message -----
From: "Scott Saraniero" <Scottsar@aminternet.com>
To: <php-general@lists.php.net>
Sent: Monday, January 28, 2002 3:17 PM
Subject: [PHP] Sending Form Arrays
> Hi,
>
> I have a form that has a section with multiple checkboxes. I would like to
> be able to send the checked boxes out as an array, and be able to retrieve
> the array in the next page (that the form variables go to.) I cannot find
> specific info on this anywhere. Can someone please point me in the right
> direction?
>
> Thanks,
> Scott
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>