When my form opens it appears the first row in the database. I want to when opening my form the option Choose member appear first then i select the member.
echo "<select name='member_id' class='form-control' style='width:500px;' >";
while ($row = $result->fetch_assoc()) {
unset($member_id, $name);
$member_id = $row['member_id'];
$name = $row['name'];
echo '<option value="'.$member_id.'">'.$name.'</option>';
}
echo "</select>";