MySQL_Narb Posted July 10, 2012 Share Posted July 10, 2012 htmlentities(stripcslashes($data[0]['title'])) Any reason why some backslashes still manage to pass by that? Do I really have to run it through a second time, or should I just build a function that removes it? Quote Link to comment https://forums.phpfreaks.com/topic/265462-stripcslashes-function/ Share on other sites More sharing options...
trq Posted July 10, 2012 Share Posted July 10, 2012 It's stripslashes. Quote Link to comment https://forums.phpfreaks.com/topic/265462-stripcslashes-function/#findComment-1360463 Share on other sites More sharing options...
MySQL_Narb Posted July 10, 2012 Author Share Posted July 10, 2012 It's stripslashes. Hm, weird. I was using stripslashes and it still put a \. I just changed it back to stripslashes and it seems to be working fine now. Weird. Quote Link to comment https://forums.phpfreaks.com/topic/265462-stripcslashes-function/#findComment-1360465 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.