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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php