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! Quote 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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.