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

[eluser]kurucu[/eluser]
Well... that's quite clearly true. How I missed the second part of your function is beyond me, but I only saw the following... whoops!
Code:
Select MSOSAG from itlib.WARFILE00 where WARCOD# =’”.$socode.”’
I've triple-read your function (the one I missed before) and can't fault it. I guess it's worth checking the value of $socode, for sanity, and perhaps temporarily using
Code:
function retrieve_aecode($socode)
{
    return 5;
}
just to be sure the error isn't somewhere else in your app.


Messages In This Thread
num_rows() always return a -1 value after query in db2 database - by El Forum - 09-22-2009, 03:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB