Welcome Guest, Not a member yet? Register   Sign In
num_rows() always return a -1 value after query in db2 database
#4

[eluser]kurucu[/eluser]
It would be worth echoing the generated sql (including the variable, to confirm that what is being run is the same as you assume) and then popping that into PHPmySQL or your equivalent to see if the query runs and what it returns.

In fact, turn on profiling temporarly and see what queries are being run without any further intervention!


Messages In This Thread
num_rows() always return a -1 value after query in db2 database - by El Forum - 09-18-2009, 07:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB