Hi.
What do i need to add to this code to make it match and select the value in the database? Usual coder off ill today so any help would be great...

<select name="subdivision" id="subdivision" class="contform">
<?php
$sql_d = "SELECT * FROM `sub_division` WHERE `division_id` = '".$row_enquiries['division']."'";

$res_d = mysql_query($sql_d, $dve) or die(mysql_error());;
while($row_d = mysql_fetch_assoc($res_d)) {
echo "<option value=\"".$row_d['sub_division_id']."\">".$row_d['name']."</option>";

}
?>

</select>