Friday, 9 August 2013

Call to a member function query() on a non-object on line 36

Call to a member function query() on a non-object on line 36

Here is line 36:
foreach ($dbh->query($sql) as $row) {
Why am I getting this error?

No comments:

Post a Comment