note 14106 added to function.odbc-num-rows.php
| From: | nlange at NOSPAM dot usb dot com | Date: | Tue, 17 Jul 2001 20:44:14 +0000 |
| Subject: | note 14106 added to function.odbc-num-rows.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15498@lists.php.net to get a copy of this message | ||
Quick note on buggy odbc drivers...<BR>
For the Tandem ODBC Driver <BR> odbc_num_rows() returns -1 up until the very last row fetched
<BR>[for example, while(odbc_fetch_into()){} ]...<BR><BR> So, you can at least
tell which is the last row using odbc_num_rows(), which proves useful in HTML rendering
situations...
http://www.php.net/manual/en/function.odbc-num-rows.php