I\'m trying to fetch results using mysqli->fetch_row() (or fetch_object(), fetch_array()), yet when I go to run the code at run time it gives me the following error:
You have to check, if query runs properly:
if ($result = $mysqli->query($query)) { }
Use: var_dump($results) to check what it contains