|
Posted by nephish on 10/13/06 21:22
well cool.
Thought (hoped) it would be something that simple.
cheers guys, and thanks for the help
sk
On Oct 13, 4:12 pm, Andy Hassall <a...@andyh.co.uk> wrote:
> On 13 Oct 2006 11:38:57 -0700, "nephish" <neph...@gmail.com> wrote:
>
> >i have an html page that uses a select element with optgroups. I want
> >multiple="multiple"
> >but when i pass it to the php script, i do not know how to get the
> >values out.
>
> >like this
>
> ><select name="people" multiple="multiple" >
>
> >when this is submitted, are they passed as an array? Change the name to "people[]" - this causes PHP to process it as an array.
> Otherwise you only get one of the selected values.
>
> --
> Andy Hassall :: a...@andyh.co.uk ::http://www.andyh.co.ukhttp://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool
[Back to original message]
|