P is for Practical | |
PerlMonks |
Re^2: Mysql queries with ' and "by runrig (Abbot) |
on Mar 12, 2014 at 20:23 UTC ( [id://1078092]=note: print w/replies, xml ) | Need Help?? |
No, the right way would be to use the $dbh->quote() method, or even better, to use placeholders as suggested below.
In Section
Seekers of Perl Wisdom
|
|