w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
PHP echo out data into HTML drop drop down menu

Try this code:

$query2 = mysqli_query($link, $sql2);

echo "<select id='Forex' name='Forex' style='display: none'>";
while($result2 = mysqli_fetch_assoc($query2)){
  echo "<option value='oko'>{$result['course']}</option>";

}
echo "</select>";
echo '</br>';




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.