Welcome Guest, Not a member yet? Register   Sign In
num_rows not working in ODBC Multiple DB object
#3

While it's possible that's a bug in the ODBC driver, the current best practice is to NOT use num_rows. As you said, you can get the answer just by calling result(), row() or any of their siblings. The result* methods will always return an empty array IIRC, if there's no results, while the row* methods will always return null.
Reply


Messages In This Thread
RE: num_rows not working in ODBC Multiple DB object - by kilishan - 02-26-2016, 01:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB