I am also getting an error with my code while trying to display something on the page
The error is
WARNING: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\ECE\ramonsys\include\database.php on line 98
the code is
public function num_rows() {
$cur = $this->executeQuery();
return mysqli_num_rows($cur));
}
what can I do to fix the problem? Thank you!