josephbupe Posted October 13, 2014 Share Posted October 13, 2014 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(); Link to comment Share on other sites More sharing options...
josephbupe Posted October 13, 2014 Author Share Posted October 13, 2014 Resolved. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now