0 Phpworker posted mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in $result = mysqli_query($conn,$query); while($row=mysqli_fetch_assoc($result)) { $resultset[] = $row; } Edit Question
0 Mitul Dabhi answered Nov 30 '-1 00:00 mysqli_fetch_assoc($result) so here $result should be return from mysqli_query result set and as per its boolean . so try to check why mysqli_query is not return result is reset to boolean . Edit Answer