Help for this page

Select Code to Download


  1. or download this
    $sth = $dbh->prepare($sql);
    if (defined $sth and not defined $dbh->err) { 
    ...
    else {
        print STDERR "Unable to prepare: $dbh->errstr\n";
    }