Pear::db and odbc issue
| From: | Chandler, Jacob R | Date: | Wed, 20 Nov 2002 18:10:53 +0000 |
| Subject: | Pear::db and odbc issue | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-91359@lists.php.net to get a copy of this message | ||
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