Re: Getting multitple select values on PHP side
| From: | Richard Lynch | Date: | Fri, 04 May 2007 21:44:37 +0000 |
| Subject: | Re: Getting multitple select values on PHP side | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254442@lists.php.net to get a copy of this message | ||
On Fri, May 4, 2007 3:56 pm, Skip Evans wrote:
> Hey all,
>
> I have a requirement for a select on a form that
> has to be able to get multiple values in the form
> processing PHP side.
>
> You just multiple to the <select...> tag to be
> able to select multiple values, but on the PHP
> side the $_POST value for the form only has the
> last one selected.
>
> Can PHP do this????
name="foo[]"
I think it's time for you to re-read this:
http://php.net/faq.php
(because the answer to this question is in there, so maybe you've got
more you've missed)
:-)
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?