Welcome to WebmasterWorld Guest from 184.108.40.206
Somehow my data fetched from the DB is automatically escaped, even though the both most likely culprits have been set off a long time ago and still are set 0.
Now I am all for escaping input and output, but only if I specify the script to do so....
Now my PHP syntax highlighting function fails on stuff like
because it strips chars from the input (like it should)
If I dont strip them, I see extra added backslashes on places they shouldnt be, they sure are not in the DB after all...
Are there any functions/classes between your script and what you are pulling from the database that may be adding the slashes?
and then paste that query here it would be really helpful. Also if you're using mysql check to see if you're using the quote() function in either the INSERT or SELECT.
ill dig up all functions which affect this later on and will post back :)