when I input data with an apostrophe a backlash appears Saint\'s

when I input data with an apostrophe a backlash appears Saint\'s

nokonoko 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"
    },

Answers

This discussion has been closed.