Every time i use a apostrophe in my query its saving with a Backslash. I'm saving everything in UTF-8.
This is my code
$mysqli->escape_string($_POST['title']);
And I also tried
$mysqli->escape_string(htmlentities($_POST['title']));
But every time its saving Backslash and apostrophe \'
Can anyone point me out the problem. Also this is not happning on my localhost while using xampp for windows. its happening in my hosting server which is bluehost.