Is it possible to have the first item in a dropdown list blank and selected by default but when choosing an item in the dropdown list and hitting submit, having that value stay there.
here is an example
<form action="" method="post" />
<SELECT NAME="whatever" id="whatever">
<?php $selected = isset($_POST["whatever"]) && $_POST["whatever"] == 'whatever'; ?>
<option value="" hidden="true" selected="selected"></option>
<OPTION VALUE=1 onclick"selected='selected'">All</OPTION>
</SELECT>
<input type="submit" name="submit" value="Update"/>
</form>
currently if I hit submit it will change the selected value back to blank.