I use select
as below:
<select name="taskOption">
<option>First</option>
<option>Second</option>
<option>Third</option>
</select>
How do I get the value from the select
option and store it into a variable for future use, in PHP?
I use select
as below:
<select name="taskOption">
<option>First</option>
<option>Second</option>
<option>Third</option>
</select>
How do I get the value from the select
option and store it into a variable for future use, in PHP?
-- html file --
-- php file --
You can do it like this, too: