Help for this page

Select Code to Download


  1. or download this
    my $sql = $dbh->quote($foo);
    $dbh->do($sql);
    
  2. or download this
    my $sth = $dbh->prepare("INSERT INTO foo (bar, baz, quux) VALUES (?, ?
    +, ?)");
    $sth->execute($bar, $baz, $quux);