Help for this page

Select Code to Download


  1. or download this
    my $sql = "select title from $TABLE2 where astype like " . $dbh->quote("%$query");
  2. or download this
    my $sql = "select title from $TABLE2 where astype like ?";
    my $sth = $dbh->prepare($sql) or die "Cannot prepare: " . $dbh->errstr
    +();
    $sth->execute("%$query") or die "Cannot execute: " . $sth->errstr();