Ah, that's exactly what I was looking for. Thanks! I had the right PHP code, just didn't have the right html :) /Greg "1lt John W. Holmes" <[EMAIL PROTECTED]> wrote in message 00a201c2c3e8$6e2431d0$a629089b@TBHHCCDR">news:00a201c2c3e8$6e2431d0$a629089b@TBHHCCDR... > Or name them as an array, "user[]" so that you have a $_REQUEST['user'] > array. Checkboxes are a little pecular in how they come across into PHP. If > you search the archives you'll get some good examples. > > ---John Holmes... > > ----- Original Message ----- > From: "Richard Whitney" <[EMAIL PROTECTED]> > To: "Greg" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, January 24, 2003 3:31 PM > Subject: Re: [PHP] checkboxes & php > > > > You need to give the checkboxes unique names like user1, user2 user3 > > > > RW > > > > Quoting Greg <[EMAIL PROTECTED]>: > > > > ### 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 > > ### > > ### > > > > > > -- > > Richard Whitney > > Transcend Development > > Producing the next phase of your internet presence. > > [EMAIL PROTECTED] > > http://xend.net > > 602-971-2791 > > > > -- > > 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