RE: [PHP] multiple selects and $_POST['vars'] MORE
| From: | Philip Olson | Date: | Thu, 06 Jun 2002 17:47:34 +0000 |
| Subject: | RE: [PHP] multiple selects and $_POST['vars'] MORE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100975@lists.php.net to get a copy of this message | ||
This is not how they work, the name goes
under <select> not within <option>.
And as others have suggested, using an
array is key here: name="bleh[]".
http://www.php.net/manual/en/faq.html.php#faq.html.select-multiple
Regards,
Philip Olson
On Thu, 6 Jun 2002, Jay Blanchard wrote:
> [snip]
> The value selected is now in $a_name
> [/snip]
>
> Or $_POST['a_name']
>
> HTH!
>
> Jay
>
> "Give a man a program, frustrate him for a day.
> Teach a man to program, frustrate him for a lifetime."
> "It's hip to snip!"
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>