I am trying to populate a Drop down box from results of a mySQL Query, in Php. I\'ve looked up examples online and I\'ve tried them on my webpage, but for some reason they j
You will need to make sure that if you're using a test environment like WAMP set your username as root.
Here is an example which connects to a MySQL database, issues your query, and outputs tags for a box from each row in the table.
";
while ($row = mysql_fetch_array($result)) {
echo "";
}
echo "";
?>