how to get multiple listbox/selection box values

hi
i want to get multiple listbox value
like

like the above the list boxes
but all contain same info
on page 1 listbox is displayed and when user click on add
new list box will appear with same values as main listbox contain

Now plz tell me how to get the that how many list boxes are used and how to get their values

EXAMPLE

[code]

value1 value2 value3 value1 value2 value3 value1 value2 value3 [/code]

now tell me how to get the values of the above dropdown boxes

the sol for this is

<select name="[b]select[][/b]" id="[b]select[][/b]">

and
[php]print_r($_POST[‘select’]);[/php]

and to find how many dropdown Boxes were used
we use
[php]echo count($_POST[‘select’]);[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service