I am trying to populate a Drop down box from results of a mySQL Query, in Php. I\'ve looked up examples online and I\'ve tried them on my webpage, but for some reason they j
No need to do this:
while ($row = mysqli_fetch_array($result)) { $rows[] = $row; }
You can directly do this:
while ($row = mysqli_fetch_array($result)) { echo "" . $row['value'] . ""; }