why would you give them all the same name? I can see this for radio buttons but not checkboxes.
-----Original Message----- From: Greg [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 3:27 PM To: [EMAIL PROTECTED] Subject: [PHP] checkboxes & php If I have 3 checkboxes labeled "user", but each one has a seperate value, how do I get the values of each checkbox? For example, how would I tell if the following checkboxes are checked? <input type="checkbox" name="user" value="1"> <input type="checkbox" name="user" value="2"> <input type="checkbox" name="user" value="3"> <input type="submit" name="Submit" value="Submit"> -- 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