Not really familiar with ENUM fields but it should work the same way as any other
$result = mysql_query("SELECT DISTINCT enumfield from tablename", $db);
print '<select name=somename>';
while ($myrow = mysql_fetch_array($result)) {
printf('<option value="%s">%s', $myrow["enumfield"], $myrow["enumfield"]);
}
print '</select>';