[wd_asp elements=’search’ ratio=’100%’ id=1]

Dropdown from MySql Select Query – Select

19th November 2020

MySql

mysql codehaven category

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.