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...
Navigation:
[Reply to this message]
|