You are here: Re: how to get multiple=multiple values from an optgroup ? « PHP Programming Language « IT news, forums, messages
Re: how to get multiple=multiple values from an optgroup ?

Posted by Johnny on 10/13/06 21:10

"nephish" <nephish@gmail.com> wrote in message
news:1160764737.443297.251860@h48g2000cwc.googlegroups.com...
> hey there all,
>
> 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?
>
> thanks
>

make it name="people[]" then they will be..

 

Navigation:

[Reply to this 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

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