RE: [PHP] multiple list bug?

From: Date: Wed, 09 Aug 2000 02:11:53 +0000
Subject: RE: [PHP] multiple list bug?
Groups: php.general 
Request: Send a blank email to php-general+get-10824@lists.php.net to get a copy of this message
I haven't used that function yet, but have you tried: <select name="interests[]" multiple size=2> <option>value 1</option> <option>value 2</option> </select> Respectfully: RW -----Original Message----- From: Wachaca [mailto:wachaca@santiago.cl] Sent: Tuesday, August 08, 2000 7:13 PM To: php-general@lists.php.net Subject: [PHP] multiple list bug? Hello, I have a form which the follownig select <select name="interests" multiple size=2> A user can select any number of options, but when I read the variable $interests, it only displays the LAST item selected by the user. Is there a way to read the entire list? I would have thought that it might be an array but if that was the case it should print the word Array when I do an echo on $interests. Please respond to my email address since I cannot handle the volume of this list. Thanks, Wachaca Este correo fue enviado a través de Santiago.cl http://www.santiago.cl, La Capital de Chile en Internet -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#10824) next »