Re: Getting multitple select values on PHP side

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux