How can I stop mysql from converting \' into ’ when I do an insert?
\'
’
i believe it has something to do with charset or something?
This is what I've done, and it worked for me:
First make sure that column containing ' is utf8_general_ci
Then add the mysql_set_charset to your code
$db=mysql_connect("localhost", $your_username, $your_password); mysql_set_charset('utf8',$db); mysql_select_db($your_db_name, $db);