On Mon, Apr 15, 2002 at 08:28:24PM -0500, GB Clark wrote:
> On Mon, 15 Apr 2002 19:10:22 -0400
> "Thomas A. Lowery" <[EMAIL PROTECTED]> wrote:
<snip>
> > On Mon, Apr 15, 2002 at 04:18:08AM -0500, GB Clark wrote:
> > > Any time I call errstr either as a method or variable
> > > all I get is the err code. ONE time I did get the right
> > > string, but for the life of me, I can't figure out why I
> > > can not get now.
> > >
> > > Any ideas?
> [SNIP]
> $dbh->do($insert);
Check for errors using $dbh->err;
> if($DBI::err) {
> my $error = $DBI::errstr;
Get the error message from $dbh->errstr;
> CloseDBConnection($dbh);
> DBError "AddUser - do - $error";
> }
> [SNIP]
--
Thomas A. Lowery
See DBI/FAQ http://xmlproj.dyndns.org/cgi-bin/fom