Page 1 of 1

remove back slashes

Posted: Sun Jul 15, 2012 9:01 pm
by inosent1
for some reason when a user enters

client's

or

client"s




in a textarea input or text field, when it returns from the mysql db it looks like this

client\\\'s

or

client\\\"s



how do i get rid of the backslashes?

i have tried stripslashes, but nothing seems work

Re: remove back slashes

Posted: Mon Jul 16, 2012 2:37 pm
by tr0gd0rr
It looks like you need to disable magic quotes.