ignore a hyphen in a name
Posted: Thu Sep 18, 2014 7:33 am
i have a name John O'Smith that is stored in my DB but when i am echoing it out i am getting the error
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 'Smith'' at line 1
what do io do rather than chaning the name
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 'Smith'' at line 1
what do io do rather than chaning the name