Hi, I'm using AJAX to be able to update some fields on a form, so it updates the database.
The problem I'm having is I have to escape the fields with mysql_real_escapse_string, so the user can input apostrophes and speech marks. When I do this however, it shows up in the edited field as "Hello test\'s with apostrophe\'s and speech\"s marks". Instead of interpreting them, it outputs them as they are. How can I get around this?
Bookmarks