Hi guys,
can you please look at my code and tell me why it does not input the field description into the drop down menu......
here is the code
echo "<select description='description' value=$description>";
$connection = @mysql_connect("server", "name", "password") or die("connect");
$db = @mysql_select_db("DATABASE", $connection) or die ("no connect");
$sql = "select * from modules";
$result = @mysql_query($connection, $sql) or die ("no Run");
while($row = mysql_fetch_array($result))
{
echo "<option VALUE='$row[5]'>$row[5]";
}
?>
why does it not work, please help please
please