Hello,
I have a program I am working on where I am trying to populate a drop down menu with data from a mysql database. I get the dropdown menu but it has no values in it. Here is the relevant code:
<select>
<?php
$records = mysql_query("SELECT * FROM country ");
while ($row = mysql_fetch_array($records)){
echo "<option value=\"\">" . $row['countryname'] . "</option>";
}
?>
</select>