On Thu, Jun 13, 2002 at 03:16:29AM -0400, Philip M.Gollucci wrote:
> I need to write a wrapper function for calls to
> $sth->fetchrow_array() where the SELECT statement will return multiple 
> rows.
> 
> such that
> 
> sub do_sql_array ($@) {
>      # on initial call: $sth = $dbh->prepare(); $sth->execute();
>      # on initial and subsequent until no more rows: return on row from
>      #                $sth->fetchrow_array()
>      # on no more rows to return: return () - an emply list
> }

Out of interest, why do you want/need it to work that way?

Tim.

Reply via email to