Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Securing DB transactions with user form input

by graff (Chancellor)
on Feb 04, 2008 at 00:34 UTC ( [id://665879]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
          my $sth = $dbh->prepare( "select bar from foo where bar=baz" );
          $sth->execute;   # selects rows where 2 columns have same values
    # vs:
          my $sth = $dbh->prepare( "select bar from foo where bar=?" );
          $sth->execute( "baz" );   # selects rows where bar='baz' (3-lett
    +er literal)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2024-04-25 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found