Im using TinyMCE but the problem is when im storing the TinyMCE data to db at my localhost it works properly but when im using same TinyMCE and storing into db on server it is not storing properly.I want to store data:-
The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
but in db it stores like(server) :-
The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.
it appends “\” before “”(double codes) when im running my code on server(Linux)
Thanks in advance
It’s Magic Quotes.
phpinfo()on the page will tell you if they are active, and if they are, turn it off in your php.ini file.Make sure these are all set to
Off: