Subject RE: [firebird-php] Process a resultset more than once
Author Alan McDonald
> Hi all,
>
> I want to do this:
>
> while($data=ibase_fetch_row($res)) {
> // do something
> }
>
> // then re-process the result set:
>
> while($data=ibase_fetch_row($res)) {
> // do something else
> }
>
> How do I position at the start of the resultset for the
> second pass ? (an equivalent of 'mysql_seek_data' ??)
>
> Neil.

You've got to buffer your results. The easiest way is to use an abstraction
layer.
ezSQL, adoDB are 2 examples.
Alan