<SELECT NAME='county'>");
$result = mysql_query("SELECT * FROM county",$cn); while (list($id, $county) = mysql_fetch_row($result)){ echo "<option value=$id>$county</option>"; } mysql_free_result($result);
print("</select>
print("</select>");
No way to tell with what's given.