[PHP-DB] Odd behavior

2004-04-03 Thread Michael Lewis
Okay, problem solved. I've been looking at the code for so long that it was too obvious to see. The "or die" was the culprit. Just a reminder that one should watch cutting and pasting. Thanks to anyone who used any brain time on this. Michael -- PHP Database Mailing List (http://www.php.net/) To

[PHP-DB] odd behavior

2004-04-03 Thread Michael Lewis
I am having a very odd problem trying to encapsulate a library that isolates the underlying backend DB (I have to support both mssql and mysql with the same front end). I have isolated the offending code as follows: $resb=sql_QUERY($sql); $recds=num_ROWS($resb); When the num_ROWS rout