Re: Suppressing DBD Error messages

2004-01-30 Thread gohaku
On Jan 30, 2004, at 8:25 AM, Tim Bunce wrote: On Tue, Jan 27, 2004 at 08:38:14PM -0500, gohaku wrote: Hi everyone, I'm sorry if this question has been asked before but I would like to know of a way to suppress error messages like: 'DBD::mysql::st execute failed: Duplicate entry at line 40' I h

RE: Suppressing DBD Error messages

2004-01-30 Thread Jeff Holt
EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 19:38 To: [EMAIL PROTECTED] Subject: Suppressing DBD Error messages Hi everyone, I'm sorry if this question has been asked before but I would like to know of a way to suppress error messages like: 'DBD::mysql::st execute failed: Duplicate

Re: Suppressing DBD Error messages

2004-01-30 Thread Michal Kurowski
gohaku [EMAIL PROTECTED] wrote: > Hi everyone, > I'm sorry if this question has been asked before but > I would like to know of a way to suppress error messages like: > 'DBD::mysql::st execute failed: Duplicate entry at line 40' > > I have tried the following: > $res = $insert->execute() o

Re: Suppressing DBD Error messages

2004-01-30 Thread Tim Bunce
On Tue, Jan 27, 2004 at 08:38:14PM -0500, gohaku wrote: > Hi everyone, > I'm sorry if this question has been asked before but > I would like to know of a way to suppress error messages like: > 'DBD::mysql::st execute failed: Duplicate entry at line 40' > > I have tried the following: > $re

Suppressing DBD Error messages

2004-01-30 Thread gohaku
Hi everyone, I'm sorry if this question has been asked before but I would like to know of a way to suppress error messages like: 'DBD::mysql::st execute failed: Duplicate entry at line 40' I have tried the following: $res = $insert->execute() or die "Not Inserted\n"; and... $dbh->{RaiseErro