br3nn4n Posted December 16, 2008 Share Posted December 16, 2008 This will probably be another of my super easy to answer questions. i have some text - Oh really now? well you're a funny guy... mySql spits out an error at the single quote. What do I do to fix that? Thanks? Link to comment https://forums.phpfreaks.com/topic/137152-getting-error-at-single-quote/ Share on other sites More sharing options...
CroNiX Posted December 16, 2008 Share Posted December 16, 2008 mysql_real_escape_string() Link to comment https://forums.phpfreaks.com/topic/137152-getting-error-at-single-quote/#findComment-716447 Share on other sites More sharing options...
br3nn4n Posted December 16, 2008 Author Share Posted December 16, 2008 Alright will this just get me around the error or will it change the text I'm entering? I've heard of it before but have never used it. Link to comment https://forums.phpfreaks.com/topic/137152-getting-error-at-single-quote/#findComment-716463 Share on other sites More sharing options...
genericnumber1 Posted December 16, 2008 Share Posted December 16, 2008 It asks the mysql server you are using how to escape the quote. Link to comment https://forums.phpfreaks.com/topic/137152-getting-error-at-single-quote/#findComment-716480 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.