Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2002112

[PHP-DEV] Pear::db and odbc issue From: Chandler, Jacob R (UCS_JRC <email protected>)
Date: 11/20/02

We are querying two different odbc databases using the Pear::DB library.
When we try to print out the number of Rows ($result->numRows()), the
output is 'Object'. We tried the same thing using odbc and we are
getting '-1' as the number of rows. This appears to be an error because
there are results in the database and if we attempt to get data, we can
do this in a while loop with the fetchRow function and we get valid
data. Can anyone give any suggestions?

Jacob Chandler