Re: Select-List
| From: | Jeroen Smeets | Date: | Wed, 05 Jun 2002 13:41:24 +0000 |
| Subject: | Re: Select-List | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-84886@lists.php.net to get a copy of this message | ||
I suppose you mean a multiple select-list: by adding [] to the name of
the field, you get an array in PHP that has the selected items.
<SELECT NAME="name[]" MULIPLE>
gives you an array $name[]
-- Jeroen
DragosB wrote:
> How can I check how many options has been selected
> from a select list? I tried in many ways, but it returns
> the last option selected.