No, the right way would be to use the $dbh->quote() method, or even better, to use placeholders as suggested below.$insert_query =~ s/'/\\'/g;
In reply to Re^2: Mysql queries with ' and "
by runrig
in thread Mysql queries with ' and "
by fattahsafa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |