Reply to Re: insert in n aray all value of a select

Your name:

Reply:


Posted by Mike G. on 07/02/07 17:28

On Jul 2, 11:47 am, artev <mailnotspa...@notspamm.nn> wrote:
> if on a select multiple I select all options
> for(var x=0,objs=tuaselect.options;x<objs.length;x++)
> objs[x].selected="selected";
>
> in php how I can get the array?
>
> ------------
> which other solutions are there for to capture from a select all its
> options and insert in an array php (but not how string)?

Assuming that tuaselect is the name of the select menu and that you
are sending this via POST.

$_POST['tuaselect'][0]
$_POST['tuaselect'][1]
$_POST['tuaselect'][2] etc...

[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

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