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? 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. 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. Link to comment https://forums.phpfreaks.com/topic/265462-stripcslashes-function/#findComment-1360465 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.