insert in n aray all value of a select

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)?
artev [ Mo, 02 Juli 2007 17:47 ] [ ID #1757615 ]

Re: insert in n aray all value of a select

On Jul 2, 11:47 am, artev <mailnotspa... [at] 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...
mgirouard [ Mo, 02 Juli 2007 19:28 ] [ ID #1757616 ]
PHP » alt.php » insert in n aray all value of a select

Vorheriges Thema: Sharing Stuff For Web Developers
Nächstes Thema: [ANN] Web testing tools selection in Methods & Tools Summer 2007 issue