when I input data with an apostrophe a backlash appears Saint\'s
when I input data with an apostrophe a backlash appears Saint\'s
noko
Posts: 10Questions: 3Answers: 0
my code is all in utf-8, however when I input data with an apostrophe a backlash appears like so Saint\'s
$('#book_list').DataTable( {
"dom": 'T<"clear">lfrtip',
"ajax": {
"url": "php/table.book_list.php",
"type": "POST",
"dataType": "json",
"contentType": "application/json; charset=utf-8"
},
This discussion has been closed.
Answers
Sounds like your PHP has magic quotes enabled. You what to have that turned off as it has been removed in the latest versions of PHP.
Allan
thank you allan sorted