Re: Mulitple selects from form drop down box
| From: | Matthew Vos | Date: | Fri, 21 Nov 2003 18:07:21 +0000 |
| Subject: | Re: Mulitple selects from form drop down box | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170606@lists.php.net to get a copy of this message | ||
On Thu, 2003-11-20 at 17:12, CPT John W. Holmes wrote:
> <select size="1" name="D1[]" multiple>
>
> Now $_POST['D1'] will be an array of all the items that were chosen.
>
> ---John Holmes...
>
> ps: wouldn't it be easier to select multiple items if you had a size larger
> than "1"??
The 'size=1' in a select doesn't mean there is only one object in the
select, it means only show one object, or one row.
'size=3' would show three rows at a time.
Matt