Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /var/www/html/page.php on line 46

Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /var/www/html/page.php on line 97