josephbupe
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by josephbupe
-
-
My select option drop down lists items (country names) outside the control.
Not sure where I am going wrong.
Here is the code:
$result = $mysqli->query("SELECT CountryID,Country FROM t_countries ORDER BY Country");echo "<select name=CountryID>";echo "<option size =30 >----</option>";while($row = $result->fetch_assoc()) {echo "<option value='{$row['CountryID']}'>{$row['Country']}</option>";}echo "</select>";$result->close();
Drop list menu error
in SQL
Posted
Resolved.