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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to