RE: [PHP-WIN] What variables does a <select name='what' mutilple> tag submit?
| From: | Christian Sandfeld | Date: | Fri, 14 Dec 2001 09:40:30 +0000 |
| Subject: | RE: [PHP-WIN] What variables does a <select name='what' mutilple> tag submit? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10899@lists.php.net to get a copy of this message | ||
I second that...
-----Original Message-----
From: Michael Reynolds [mailto:wshs_chat@yahoo.com]
Sent: 14. december 2001 10:33
To: Cliff; php-windows@lists.php.net
Subject: Re: [PHP-WIN] What variables does a <select name='what'
mutilple> tag submit?
--- Cliff <zihan@msn.com> wrote:
> Hi,
>
> I would like to ask, what variables are submitted
> from a form with say...
> options 2 and 4 selected?
>
> <select name='what' multiple size=4>
> <option value='1'>1
> <option value='2'>2
> <option value='3'>3
> <option value='4'>4
> <option value='5'>5
> </select>
>
I am not 100% certain, but I believe that it would set
$what as an array, with $what[0] as '2', and $what[1]
as '4.'
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net