Unless fetchrow_array is in a loop that would imply to me that there are
more results to fetch. If it is in a loop, is it possible there is a loop
exit before all results are fetched?
-- Neil
> -----Original Message-----
> From: Hèctor Alòs i Font [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 31, 2001 9:27 PM
> To: Bart Lateur
> Cc: [EMAIL PROTECTED]
> Subject: Re: Active statement error
>
>
> Simply something as simple as :
>
> $sth = $dbh->prepare ("select FIELD from TABLE where
> IDENTIFIER=?");
> $sth->execute ('VALUE');
> ($field_value) = $sth->fetchrow_array;
>
>
> En/Na Bart Lateur ha escrit:
>
> > On Thu, 31 May 2001 13:06:26 +0200, Hèctor Alòs i Font wrote:
> >
> > >DBI::db=HASH(0xfa5dc)->disconnect invalidates 1 active
> > >statement handle (either destroy statement handles or call
> > >finish on them before disconnecting) at ...
> > >
> > >We are quite amazed because we can not discover which
> > >statement handle can be active: we just added a select
> > >statement in the programme.
> >
> > What does this particular recent addition look like?
> >
> > --
> > Bart.
>
__________________________________________________________________________
Please Note :
Only the intended recipient is authorised to access or use this e-mail. If
you are not the intended recipient,
please delete this e-mail and notify the sender immediately. The contents
of this e-mail are the writer's
opinion and are not necessarily endorsed by the Gunz Companies unless
expressly stated.
We use virus scanning software but exclude all liability for viruses or
similar in any attachment.