How to set selected value in drop list in HTML in Edit Form?
The selected value came from MySql
This code is not work !! >> selected=””
<select name="TutorGender" id="TutorGender" selected="<?php echo $Gender ?>">
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
W3Schools does a good job of explaining this here
http://www.w3schools.com/tags/att_option_selected.asp
Your code might look something like this.
Though my PHP syntax may be a little off, but you should get the idea.