Lo que queres hacer como te dijo antes el compañero es un select, te dejo un ejemplo
Cita: <?php
/*Conexion a la bd*/
$dat="SELECT * FROM tabla";
$sql=mysql_query($dat);
?>
<select name="variable">
<?php
while($lista=mysql_fetch_array($sql))
echo "<option value='".$lista["variable"]."'>".$lista["variable"]."</option>";
?>
</select>