Wednesday, 23 November 2016

php - Laravel 5:Call to a member function fetch_assoc() on a non-object



$row = $results->fetch_assoc();
echo $row["Amount"];
?>


Here is my code it is giving me a error:Call to a member function fetch_assoc() on a non-object.
I am using Laravel 5

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...