spaceman12 Posted December 25, 2010 Share Posted December 25, 2010 Guys, I'm not at all able to insert characters like " ' ` and all sorts into my database or it will always return an error. I just created a textarea field in my site of which I just want to istore all those collected datas into my database for later retrieval and all sorts. Please help! Link to comment https://forums.phpfreaks.com/topic/222637-please-help-mysql-syntax-error-in-the-insertion/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 25, 2010 Share Posted December 25, 2010 String data values that are put into a query must be escaped. See this link - mysql_real_escape_string Link to comment https://forums.phpfreaks.com/topic/222637-please-help-mysql-syntax-error-in-the-insertion/#findComment-1151355 Share on other sites More sharing options...
spaceman12 Posted December 25, 2010 Author Share Posted December 25, 2010 I'm just into programming like some few days ago. Thank you so much,, you guys are such very wonderfull people Link to comment https://forums.phpfreaks.com/topic/222637-please-help-mysql-syntax-error-in-the-insertion/#findComment-1151356 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.