Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: num_rows not working in ODBC Multiple DB object
Post: RE: num_rows not working in ODBC Multiple DB objec...

One more problem I found that if I just use $query->result(), I can get the result normally with both connection but once I use $query->num_rows() in object $main_db the $query will turn All Nul...
4,244 Views
2 Replies
02-25-2016, 11:45 PM
judaskit
    Thread: num_rows not working in ODBC Multiple DB object
Post: num_rows not working in ODBC Multiple DB object

I use ODBC DB I found that I cannot use num_rows when it is a database object For example: $this->load->database('testing'); $sql = "SELECT top 10 * from [haha].[dbo].[Info]"; $query = $this->...
4,244 Views
2 Replies
02-25-2016, 10:19 PM
judaskit

Theme © iAndrew 2016 - Forum software by © MyBB