Hi,
$sth = $dbh - prepare (LOCK TABLES $table WRITE);
die $dbh-errstr if (not defined ($sth - execute));
$sth = $dbh - prepare (DELETE FROM $table);
die $dbh-errstr if (not defined ($sth - execute));
This truncated the table. Then I filled the table anew, and, at the end
- Original Message -
From: Basil Hussain [EMAIL PROTECTED]
To: Mark [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 22, 2002 6:32 PM
Subject: RE: Table gets wiped out!
Hi,
$sth = $dbh - prepare (LOCK TABLES $table WRITE);
die $dbh-errstr if (not defined ($sth