odbc_num_rows returns -1...any alternatives?
| From: | Tyson Lloyd Thwaites | Date: | Thu, 31 Aug 2000 00:00:50 +0000 |
| Subject: | odbc_num_rows returns -1...any alternatives? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2502@lists.php.net to get a copy of this message | ||
Hi guys & girls,
I'm writing an ODBC wrapper class using the PowerDynamo syntax and I want a
property called GetRowCount.
I noticed that odbc_num_rows returns -1. Is there another way to do this? I
can't do it the way suggested in the php annotated manual, because I want
this to be available as a property of my class, ie the user needs to know
this value *before he starts looping through the records.
Any ideas?
Regards,
Tyson Lloyd Thwaites
IT&e Ltd