Godkid Posted December 1, 2003 Share Posted December 1, 2003 How do you handle apostrophes in a MySQL insert statement... i made some necessary mods to take additional info.. but on submit I keep getting a MySQL error because the data has an apostrophe.. any ideas? Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2003 Share Posted December 1, 2003 Send your strings with apostrophes in them through the addslashes function so they are properly escaped but running the query. Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2003 Share Posted December 1, 2003 \'s Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.