I am using Doctrine ORM for php and Zend MVC. I have a mysql database. When I insert into the database it is escaping quotes. In other-words when I enter
<input name="customer_name" value="Test'ed user"> ...
into my form, and assign to a doctrine object and save.
When I look at the database through the mysql command line I get
Test\'ed user
Is there a way to disable this or do I have to call stripslashes()
on each variable?