Re: [Phplib-users] DB Error Reporting Broken?
Brought to you by:
nhruby,
richardarcher
From: Andrew C. <An...@Ev...> - 2003-04-06 19:53:13
|
Ah! Okay, I see now. The code snippet I posted before is not what was generating the error. I was checking for an empty result set before doing anything with the data but, that generally stops working when you comment it out ... I guess that will teach me to code into the wee hours without taking a break. Thank you for your patience. Andrew Crawford An...@Ev... At 03:45 PM 4/6/2003 +1000, you wrote: >At 22:08 -0700 5/4/03, Andrew Crawford wrote: > > >I am already checking to make sure the result set is non-empty before I do > >anything with the results. That is not a problem. > >Then why is $db->seek() throwing an error? > >There is nothing in the DB class which calls that method. >So I assume your code is calling it. > > > > However, the default > >behavior for phplib is to display an error message for the query that is > >"performed without error." > >No, that is incorrect. If there is no error the class won't report one. > > ...R. |