lional Posted December 20, 2007 Share Posted December 20, 2007 Hi All I have a small problem, I need to insert certain characters like the comma, and single quotation mark using the INSERT command. Is there anyway that this can be done Thanks Lional Link to comment https://forums.phpfreaks.com/topic/82527-special-characters-in-mysql/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 20, 2007 Share Posted December 20, 2007 Actually, a coma in a string is not a problem. You need to escape the special characters so that they are treated as literal characters instead of their special meaning - http://dev.mysql.com/doc/refman/5.0/en/string-syntax.html Link to comment https://forums.phpfreaks.com/topic/82527-special-characters-in-mysql/#findComment-419525 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.