I have looked all over and can’t seem to get this to work. I need to access a mysql table to populate a dropdown so I can fill in a form. The code below if I leave out the select portion will populate a table with the info from the db table.
$sql = "SELECT * FROM cqadmin.keys order by keytype";
$result = mysqli_query($link,$sql) or die(mysql_error());
echo Read the entire article at the source link…
We’re happy to share this resource that we found. The content displayed on this page is property of it’s original author and/or their organization.