Hey,
I wondering if it's possible to retrieve all the <option>-fields from a
<select> when posting a <form> to a php file
Example:
I've got a form like this:
<form action = phpfile.php method=post >
<select name= "name">
<option value="1">1</option>
<option value="2">2</option>
</select>
</form>
and a php file where i retrieve the posted date:
$name=$_POST["name"];
but how can i get the value of option 1 and option 2 no matter if they are
selected or not?
Anybody knows?