in reply to Re^5: escaping special characters in mysql queries
in thread escaping special characters in mysql queries

It seems I was guessing somewhat right then.
Try assigning your string with the q// quoting operator; example:

... = q/be prepared! you can't do that "may be i will do it"./

Turn on warnings, too.

Cheers, Sören

  • Comment on Re^6: escaping special characters in mysql queries