:-)
My complete guess is that you're doing something like:
$dbh->do("update ... title = '$title'");
In which case your extra apostrophie in the title is producing an illegal SQL statement.
If this is what you're doing you want to look at 'Placeholders and Bind Values' in the DBI documentation for the right way to do it.
In reply to Re: Escaping characters
by adrianh
in thread Escaping characters
by drewboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |