Help for this page

Select Code to Download


  1. or download this
    my $placeholders = join ",", (('?') x @values);
    my $sth = $dbh->prepare(" SELECT *
                        FROM table
                        WHERE field IN ($placeholders) ") or die $dbh->err
    +str;
    $sth->execute(@values);