Question: how to show selected value in dropdown from database in php?
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="'.