Hi!
I'm using the latest version of FCKeditor.
Problem is when i post to my MySQL database with PHP5.
Lets say i post the following:
<img src="http://www.example.com/image.jpg" alt="My pic" border="0" />
In my database and when i open the stored information FCK displays this:
<img border=\"0\" alt=\"My pic\" src=\"http://www.example.com/image.jpg\" />
If I open the database post using FCKeditor and then post it again it will display like this:
<p><img border=\\"0\\" alt=\\"My pic\\" src=\\"http://www.example.com/image.jpg\\" /></p>
I have the latest version of PHP, MySQL, Apache. I work with PDO!
What's going wrong?
Best regards
Johan Linnarsson
Mon, 01/12/2009 - 22:32
#1
Re: Help! When posting / is added before " to MySQL databas
This problems was because magic_quotes was set to on!

You can also add stripslashes()
Solved