Don't put variables into your SQL statement directly, use placeholders (see DBI for the many reasons why).
... $sql = qq { insert into my_table (update_1) values (?) }; $sth = $dbh->prepare($sql); $sth->execute($sometext); ...
In reply to Re: MySQL question
by tirwhan
in thread MySQL question
by Dranzaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |