Why is htmlspecialchars adding slashes to my webpage?

Try this line in PHP to find out: if(get_magic_quotes_gpc()) echo "Magic quotes are enabled"; else echo "Magic quotes are disabled"; If they are enabled, you can use stripslashes to remove them.

It could be being caused by some SQL escaping – Dan McGrath Jun 12 '10 at 22:09 Don't use any SQL escaping. Everything is put in the database through PDO so I don't have to – JoeCortopassi Jun 12 '10 at 22:15 Crap, you're right. Checked my db and it's in there with the slashes.

How the heck did that happen :-/ – JoeCortopassi Jun 12 '10 at 22:21.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send