[PHP] Re: How can you determine if you on the last result?

2001-11-28 Thread Philip Hallstrom
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,

RE: [PHP] Re: How can you determine if you on the last result?

2001-11-28 Thread Martin Towell
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