How do you set a drop down input tool equal to the passed variable?
Eg.
Passed variable is $price and had the value of 10000.
<select name="price" >
<option selected="selected" value="0">Unlimited</option>
<option value="10000">$10000</option>
<option value="20000">$20000</option>
</select>
How can I make the selected option be 10000 dynamically using php?
Thanks.