Hi all, I want to print all the text stored in a <select> tag. For example:

<select name="my_select">
<option value=1>Hello
<option value=2>World
<option value=3>Again!!!
</select>

This is the final select, but is created dinamically with javascript.
So when the sumbit button is pressed, I want that my php script output the folowing:

The number of options is:  X    (3 in that example)
The options was:

value=1, text=Hello
value=2, text=World
value=3, text=Again!!!

and so on.

Thanks for your help.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to