How to avoid saving escape character (\) in db

Posted by Huy on Stack Overflow See other posts from Stack Overflow or by Huy
Published on 2010-05-20T18:25:42Z Indexed on 2010/05/20 18:30 UTC
Read the original article Hit count: 227

Filed under:
|
|
|

I'm using zend frame work zend form and zend db for my project.

The problem I have is, when the user enter some special characters in the text field (i.e "I'm"), it is saved in the database with the "\" character (i.e. "I\'"). I need to know how to fix this so it just saved as whatever the user entered.

© Stack Overflow or respective owner

Related posts about zend

Related posts about zend-framework