Re: checkboxes & php

From: Date: Fri, 24 Jan 2003 20:59:17 +0000
Subject: Re: checkboxes & php
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-133047@lists.php.net to get a copy of this message
I just logged in to my Yahoo mail account. I have only one account, but when I went to Preferences, it had a <select multiple>, which you might want to consider RW Quoting Greg <gregchagnon@hotmail.com>: ### I want to be able to let people check multiple values. I want them to be ### given a list of usernames and check the ones they want deleted, so a ### radio ### button won't work. If you go to Yahoo mail and select more than one ### checkbox, you can delete more than one item. I looked at the source and ### all ### the checkboxes are called "Mid". Any ideas? ### /Greg ### ### ### "Edward Peloke" <epeloke@echoman.com> wrote in message ### news:NFBBIIKNALMFFNANEKEFAEPLDEAA.epeloke@echoman.com... ### > why would you give them all the same name? I can see this for radio ### buttons ### > but not checkboxes. ### > ### > -----Original Message----- ### > From: Greg [mailto:gregchagnon@hotmail.com] ### > Sent: Friday, January 24, 2003 3:27 PM ### > To: php-general@lists.php.net ### > 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 ### ### -- Richard Whitney Transcend Development Producing the next phase of your internet presence. rw@xend.net http://xend.net 602-971-2791

« previous php.general (#133047) next »