Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Where the advice to use DBI bind parameters can go wrong (long)

by hacker (Priest)
on Jun 17, 2002 at 14:05 UTC ( #175079=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sth->prepare(qq{
           SELECT name, url FROM table WHERE name LIKE %$name%});
    
  2. or download this
    $sth->prepare("SELECT * FROM companies WHERE name = ?");
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-03-31 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (674 votes), past polls