Question: how to display the selected value in dropdown in php from database?
Answer: php $selection=array('PHP','ASP'); echo '<select> <option value="0">Please Select Option</option>'; foreach($selection as $selection){ $selected=($options == $selection)? "selected" : ""; echo '<option '. $selected. ' value="'.