So, I have a large app that works great, I move it over to another host, everything great except... I edit a page in the online editor (which uses tinyMCE), save it, and it appears back on the page with extra quotes, so what was:
- actually worse because tiny mce is converting the extra quote in it to:
I've added these to every script that either pulls data out or puts data into a database:
which I got from some web site. Unfortunately it does absolutely nothing at all. I guess it's something to do with stripslashes/addslashes and the default behaviour of that?
This app can sit on any possible host, is there a generic way that I can ensure this is worked out via a function (checking on values, running the appropriate behaviour? The server i developed this on doesnt use any magic_quotes or add/stripslashes in the actual php code and works perfectly, which is how i want it to be every time.