Hi
I am sure this is a problem common to many PHP installations but I was wondering how to fix it specifically in a form-tools installation?
I have a text area on a form. If I add
each time the submission is updated I get extra escape characters
To get around storage of this I use stripslashes and str_replace functions in a hook in ft_update_submission, start. But although it is getting stored correctly in MYSQL it still insists on displaying them as above?
Is there is a global variable or whatever that I can set to prevent this behaviour rather than use code hooks?
I am sure this is a problem common to many PHP installations but I was wondering how to fix it specifically in a form-tools installation?
I have a text area on a form. If I add
Quote:this is a quote by me; "why do I keep getting escape characters repeated?"
each time the submission is updated I get extra escape characters
Quote:this is a quote by me; \\\"why do I keep getting escape characters repeated?\\\"then, after 3 or 4 updates
Quote:this is a quote by me; \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"why do I keep getting escape characters repeated?\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"
To get around storage of this I use stripslashes and str_replace functions in a hook in ft_update_submission, start. But although it is getting stored correctly in MYSQL it still insists on displaying them as above?
Is there is a global variable or whatever that I can set to prevent this behaviour rather than use code hooks?