RE: [PHP-GENERAL] Multiple select
| From: | Boaz Yahav | Date: | Thu, 15 Jun 2000 11:36:49 +0000 |
| Subject: | RE: [PHP-GENERAL] Multiple select | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1917@lists.php.net to get a copy of this message | ||
You do :
<SELECT name="color[]" size="3" multipe>
notice the [] in the Name field...
after the submit you will have an array named $color.
berber
http://www.weberdev.com
-----Original Message-----
From: david [mailto:desbi22@cict.fr]
Sent: Thursday, June 15, 2000 12:01 PM
To: php-general@lists.php.net
Subject: [PHP-GENERAL] Multiple select
How can I do to know the options a user has checked in a < SELECT
.....multiple> tag.
In fact my form contain :
<SELECT name="color" size="3" multipe>
<Option> red
<Option>green
<Option>yellow
Then I call my php script and I want to know the options checked by the
user
thanks
--
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