How can I test the status of $sth itself?

A scenario is that a $sth is passed from a sub. And now, I have a $sth. Of
course $sth->rows return 0 or whatever int row. However, a test using
$sth->rows is not good when something is wrong. It return some large
number. So How can I test to see if its bad or good without access to
previous calls?

thanks



-----------------------------------------
eMail solutions by 
http://www.swanmail.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to