Use the [] along with the type of input you are using. 

Example:
<Select NAME=THING[] MULTIPLE>

This will send php an array of $thing with whatever is selected.

Hope this helps.

Chad.

-----Original Message-----
From: Lon Lentz [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 29, 2002 4:07 PM
To: Php-General@Lists. Php. Net
Subject: [PHP] How to handle multiple value checkboxes




  If I have a form with multiple checkboxes with different values but the
same name, and someone selects a couple of them, how do I reference all of
the values? Right now I am only getting the last one selected.



__________________________
Lon Lentz
Applications Developer
EXImpact.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to