Jump to content

josephbupe

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About josephbupe

  • Rank
    Newbie
  1. 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();
×
×
  • Create New...