tabatsoy Posted June 12, 2008 Share Posted June 12, 2008 greetings Earthlings!!!! when i put an apostrophe on my form(eg. o'mg) and hit submit button it says "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''''' at line 5" Please Help Link to comment https://forums.phpfreaks.com/topic/109821-solved-help-in-apostrophes/ Share on other sites More sharing options...
DyslexicDog Posted June 12, 2008 Share Posted June 12, 2008 Single quotes have to be escaped before trying to use them as a variable in you code. Please post the code relevant to your problem I can show you how to add the necessary escape characters. Link to comment https://forums.phpfreaks.com/topic/109821-solved-help-in-apostrophes/#findComment-563608 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.