tags:

views:

111

answers:

1

just.... don't know why two strip slash function.

+3  A: 

stripcslashes() skips special character sets like "\n" and "\r", preserving any line breaks, return carriages, etc. that may be in the string.

stripslashes() simply removes any slashes it encounters without parsing anything beforehand.

BraedenP
+1 for agreement
thephpdeveloper