Hartley Posted May 24, 2008 Share Posted May 24, 2008 I tried searching and couldn't figure out a good search algorithm to find this. I'm making a CMS and in one of the textareas, HTML is meant to be inputted by administrators. How do I set it so that the HTML is preserved and won't cause a mySQL error from any quotations at the same time? Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/107120-make-insert-html-safe/ Share on other sites More sharing options...
pocobueno1388 Posted May 25, 2008 Share Posted May 25, 2008 This is a nice class for this http://htmlpurifier.org/ Link to comment https://forums.phpfreaks.com/topic/107120-make-insert-html-safe/#findComment-549332 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.