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.

Reply via email to