Dropdown failing







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.

PHP Code:


<?php
require('/var/www/html/cqadmin/utils/connect.php');
$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…


#codango #developer #development #coder #coding

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.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*