Reply to Re: how to get multiple=multiple values from an optgroup ?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация