Help for this page

Select Code to Download


  1. or download this
    my $tmp_query="insert into <TableName> values('','');"; 
    eval {
    ...
    };
    if ($@) { # error...
    }
    
  2. or download this
      $sth = $dbh->prepare($tmp_query); 
      if (!$sth) {
    ...
         die "Error:" . $sth->errstr . "\n";
      }
      ...