+ 1
Help! Warning: mysqli_query() expects at least 2 parameters, 1 given in
Help! Warning: mysqli_query() expects at least 2 parameters, 1 given in Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in My code is { global $dbname, $dbuser, $dbhost, $dbpass; $conms = @mysqli_connect($dbhost,$dbuser,$dbpass); //connect mysql if(!$conms) return false; $condb = @mysqli_select_db($dbname); if(!$condb) return false; return true; }
1 Resposta
+ 2
Did you forget the part where you use mysqli_query() and mysqli_fetch_array()?
I don't see them in that code ...