How can you determine if you on the last result?
| From: | J. Anderson Scarbrough | Date: | Wed, 28 Nov 2001 22:11:21 +0000 |
| Subject: | How can you determine if you on the last result? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75946@lists.php.net to get a copy of this message | ||
If I execute a query and fill a resultset, how can i tell if I am on the last result in the set? I want to something like:
while(OCIFetchInto ($curs, $data)) {
if($isLastRecord)
// do something} Thanks. Anderson _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp