Hi to all,
how can I display information in a drop down menu?
What I want to do is: select all the values from info_sys field and display
them in a drop down menu.
This is what I have so far, but only display one value at a time.
$sql = mysql_query("SELECT info_sys from project order by project_id,
project_id ASC");
while($query_data = mysql_fetch_array($sql))
{
$info_sys = $query_data[info_sys];
}
<select name="info_sys">
<option><? echo $info_sys; ?></option>
</select>
Any help is greatly appreciate
Thanks in advanced
Nato
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php