Re: [fw-general] Escape characters in stored data

2009-06-13 Thread Jason Webster
It looks as if you have magic_quotes_gpc enabled. Either disable it via php.ini or an .htaccess directive. If you can't do that, make a quick google search for something along the lines of stripslashes deep, and apply that to the $_GET and $_POST superglobals as early as possible. On 13/06/2009

[fw-general] Escape characters in stored data

2009-06-13 Thread Jalil F.
I have a simple form and save some text to the database. I use code like the following in my form: $names = new Zend_Form_Element_Text('names'); $names->setLabel('Names:') ->setRequired(true) ->addFilter('StripTags') ->addFilter('StringTrim') ->add