Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

July 27, 2011

No Comments

[PHP] Stripslashes and fwrite not working

I was working with one project and writing textarea’s data into one file using fwrite function of PHP. It keeps adding forward slash whenever single quote comes in string. I have tried to use stripslashes but it did not work. I tried stripslashes twice but it did not work as well.