RE: [PHP-DB] Multiple select
| From: | Hutchins, Richard | Date: | Tue, 01 Oct 2002 16:52:55 +0000 |
| Subject: | RE: [PHP-DB] Multiple select | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-22131@lists.php.net to get a copy of this message | ||
rename your select lists with array brackets at the end
'listbox1[]'
all of your values will be passed to the next page as an array
> -----Original Message-----
> From: Wilmar Perez [mailto:wilmar.perez@caribe.udea.edu.co]
> Sent: Tuesday, October 01, 2002 12:47 PM
> To: php-db mailing list
> Subject: [PHP-DB] Multiple select
>
>
> Hello guys
>
> I need to pass multiple choices from multiple select lists.
> I have -
> <select name = 'listbox1' multiple>
> <option selected value = ''>Select ...</option>
> <option>AP11</option>
> <option>AP12/AP14</option>
> <more options listed>
> </select>
>
> I can choose multiple items on the list, but only the last
> item chosen will
> be carried over to the final form page.
>
> How do I get I get it too carry multiple items?
>
> Thanks a lot
>
> *******************************************************
> Wilmar Pérez
> Network Administrator
> Library System
> Tel: ++57(4)2105145
> University of Antioquia
> Medellín - Colombia
> 2002
> *******************************************************
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>