Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: DBI, place holders and CGI forms

by wind (Priest)
on Jun 02, 2011 at 15:32 UTC ( [id://907822]=note: print w/replies, xml ) Need Help??


in reply to DBI, place holders and CGI forms

Yes, even if you dynamically build your sql statement, you should still use placeholders and bind values.

A functionally equivalent method would be to use DBI::quote, but I prefer to always use placeholders less one forget to quote a field.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-23 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found