We have got the following error:
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
lists. **
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
- Original Message -
From: Hèctor Alòs i Font [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 31, 2001 04:06
Subject: Active statement error
We have got
On Thu, 31 May 2001, [iso-8859-1] Hèctor Alòs i Font wrote:
..
Simply something as simple as :
$sth = $dbh-prepare (select FIELD from TABLE where
IDENTIFIER=?);
$sth-execute ('VALUE');
($field_value) = $sth-fetchrow_array;
Make sure to do an
$sth-finish;
before quitting. This will
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, May 31, 2001 at 01:44:37PM +0200, Bart Lateur wrote:
On Thu, 31 May 2001 19:29:12 +0800 (PHT), Orlando Andico wrote:
On Thu, 31 May 2001, [iso-8859-1] Hèctor Alòs i Font wrote:
..
Simply something as simple as :
$sth = $dbh-prepare (select FIELD from TABLE where