Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14343

[SOLVED] Num_rows() returns error message

$
0
0
My application is using the sqlsrv database driver.

In many queries, the $query->num_rows() function throws an error:

Code:
fatal error: call to a member function num_rows() on boolean

Even if I use the $this->db->list_tables() function, I get this terrible error, but I'm sure may database contains several tables.

Any tips how to solve this?

Viewing all articles
Browse latest Browse all 14343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>