Creating a dropdown from a MySql query is quite easy
There are a few ways, simplest is to create an array then just loop
Another method without an array.
query($sql)){
die('There was an error running the query [' . $mysqli->error . ']');
}
?>
?>
Maybe pull three things…..echo "";}
And for two dropdowns take a look here.












