You could use whatever OCI function returns the number of rows returned
and then keep a counter or you could do it this way:
while(OCIFetchInto ($curs, $data)) {
# do normal stuff for *ALL* rows
}
# do some stuff with $data which now contains the last row.
-philip
On Wed, 28 Nov 2001,
29, 2001 9:28 AM
To: J. Anderson Scarbrough
Cc: [EMAIL PROTECTED]
Subject: [PHP] Re: How can you determine if you on the last result?
You could use whatever OCI function returns the number of rows returned
and then keep a counter or you could do it this way:
while(OCIFetchInto ($curs, $data
2 matches
Mail list logo