Help for this page

Select Code to Download


  1. or download this
    my $name = "; DROP DATABASE mysql;";
    my $sth = $dbh->prepare("INSERT INTO names (name) values ('$name')");
    $sth->execute;
    
  2. or download this
    my $name = "; DROP DATABASE mysql;";
    my $sth = $dbh->prepare("INSERT INTO names (name) values (".$dbh->quot
    +e($name).")");
    $sth->execute;