Re: ODBC number of rows?
| From: | Manuel Lemos | Date: | Wed, 01 May 2002 12:12:18 +0000 |
| Subject: | Re: ODBC number of rows? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95507@lists.php.net to get a copy of this message | ||
Hello,
Brian McGarvie wrote:
odbc_num_rows($result); the above return -1 always, what other way can you check if any rows have been returned?Many ODBC drivers can't return that information. You may want to try this database abstraction layer that provides emulation for that even when you use ODBC, even though it is discouraged for large result sets: http://www.phpclasses.org/browse.html/package/20.html Regards, Manuel Lemos