Help for this page

Select Code to Download


  1. or download this
    my $p_str = join ',', ('?') x @array;
    
  2. or download this
    my $sql = "SELECT foo FROM bar WHERE baz IN (?,?,?)";
    my $sth = $dbh->prepare( $sql );
    $sth->execute( "a", "b", "c");