Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Use Placeholders. For SECURITY and (sometimes) for PERFORMANCE

by hardburn (Abbot)
on Nov 14, 2003 at 21:12 UTC ( [id://307215]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $val(@values) {
        $val = $dbh->quote($val);
    ...
        );
        $sth->execute();
    }
    
  2. or download this
    for my $val(@values) {
        my $sth = $dbh->prepare_cached(
    ...
        );
        $sth->execute($val);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://307215]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-10-03 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (42 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.