Gerals Preston wrote: [snip] > my $sth = $dbh->prepare( $sql ) or die $dbh->errstr if $dbh->err; [snip]
Regardless of other problems you may be having, I think you're not doing what you want to do here. How about instead: my $sth = $dbh->prepare($sql); $sth || die "Error preparing sth from '$sql': ", $dbh->errstr; -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]