php – mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in

php – mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in

The query given to mysqli_query() is failing and returning false.

Put this after mysqli_query() to see whats going on.

if (!$check1_res) {
    printf(Error: %sn, mysqli_error($con));
    exit();
}

For more information:

http://www.php.net/manual/en/mysqli.error.php

php – mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in

Leave a Reply

Your email address will not be published.