poleposters Posted August 17, 2009 Share Posted August 17, 2009 I'm using FCK editor and I've come across a problem. If The text i enter includes quote marks. The query fails. I can't figure out why this is happening. FCK editor converts everything to HTML before posting the data. Any ideas? Link to comment https://forums.phpfreaks.com/topic/170623-solved-sanitizing-form-data-for-input/ Share on other sites More sharing options...
trq Posted August 17, 2009 Share Posted August 17, 2009 mysql_real_escape_string. Link to comment https://forums.phpfreaks.com/topic/170623-solved-sanitizing-form-data-for-input/#findComment-899924 Share on other sites More sharing options...
poleposters Posted August 17, 2009 Author Share Posted August 17, 2009 Thanks. Worked a charm. Link to comment https://forums.phpfreaks.com/topic/170623-solved-sanitizing-form-data-for-input/#findComment-899931 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.