php - mysql error - mysqli_fetch_assoc() expects parameter 1 to be mysqli_result -


okay having bit of problem query. keep getting error query.

warning: mysqli_fetch_assoc() expects parameter 1 mysqli_result, boolean given in ... on line 9

here code. can help?

<?php  include("config.php");  $postsql = "select * global_wall active=1 order asc"; $postresults = $conn->query($postsql);  while($postrow = mysqli_fetch_assoc($postresults)) {     #code }  ?> 


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -