Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Valid code?

by afoken (Canon)
on Mar 18, 2020 at 09:58 UTC ( #11114422=note: print w/replies, xml ) Need Help??


in reply to Re: Valid code?
in thread Valid code?

I guess you are trying to generate an SQL snippet for MySQL.

If that is true, htmanning is probably creating an SQL injection vulnerability here. As always, placeholders should be used instead. Not only does that prevent SQL injections, but it also allows caching and reuse of prepared SQL statements.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2020-06-04 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (30 votes). Check out past polls.

    Notices?