View Full Version : special character handling

04-11-2003, 04:37 AM
I have a forum and in add/edit/quote/reply, people can preview what they have entered, but if they entered special charecter like " ' (double or single quote), the php will generate a \" \' in the preview and in the form field, so when they submit, the \ will also appear.

How can I handle this...

the column field is called $body

where and how should I solve it?

04-11-2003, 09:05 AM
This will get rid of those slashes: