Forum Moderators: coopster
<?php
$sql = "SELECT FName FROM Individual ORDER BY FName";
$result = mysql_query($sql) or die(mysql_error());
$number = mysql_num_rows($result);
$i = 0;
$menu = "";
//populate box
while ($number > $i)
{
$row = mysql_result($result,$i,"FNAme");
$menu .= "<option value=\"$row\">$row</option>\n";
$i++;
}//end while
// display drop down
print "<select name=\"firstName\">\n";
print $menu;
print "</select>\n";
?>
Is there a way to force the drop down box to drop in any direction I want (up/down)? Right now this box is towards the bottom of the browser and drops up, I would like to force it to drop down (and obey the laws of physics).
--Nick