How can i select the respective value in a drop-down list from html according to name and id received? i need it to edit this information from the data base
i'm trying with this code but don't show me the correct option that i want to send to the drop-down list
<select class="form-control" id="status" name="status" >
<option value="true" >Available</option>
<option value="false" >Not available</option>
</select>