> Does anyone know how to get a particular option to display in a drop menu?
> 
> <select name="category" id="category">
>  <option selected="true" value="Option Value">Option Value</option>
>  <option value="line">---------------------</option>
>  <option value="value1 ">value1</option>
>  <option value="value2 ">value2 </option>
>  <option value="value3 ">value3</option>
>  <option value="value4 ">value4</option>
> </select>

add selected="selected" to the option

<option value="value4 " selected="selected">value4</option>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to