Hi Guys,
I'm having a wee problem at the moment, with some of my code and I thought I'd check with you guys to see if there was a simple solution before I pull yet more of my hair out.
I have an element on my site that allows users to add articles to the database. Now this all works, except if the article contains quotation marks. Then all hell breaks loose.
I have tried using nl2br, htmlentities, htmlspecialchars and a combination of all three. But no matter what I do, the returned data has the quotes escaped using . After a little bit of research, I have been led to believe this might be caused by magic quotes?
This is causing me the mother of all headaches, so I thought I'd see if anyone could enlighten me.
As always, thanks for your help people,