Codice PHP:
$query "SHOW COLUMNS FROM nome_tabella";
$result mysql_query($query$db)
or die(
mysql_error()); 

while (
$row mysql_fetch_assoc($result)) { 


echo 
"<option value=\"$row[Field]\">$row[Field]</option>";


se vuoi usare la tua query devi aggiungere il numero del campo che vuoi estrarre. Es:

Codice PHP:
while ($row mysql_field_name($result1)) {