I am sure this must have been discussed many times before, but I could not get much info upon searching.
I am writing simple scripts to Add / Delete / Modify records in MySQL.
Special characters like single quotes, double quotes, back slash, front slash, dollar etc cause a havoc when interacting with MySQL.
What is the best way to handles these characters (and other characters which I have missed above) such that they are displayed correctly when viewing, adding & modifying records.
All suggestions / examples / pointers are thanked in advance.
PHP MySQL: escaping all special characters
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users