I have two MySQL insert statements on my site.
If I insert a £ sign into $data through this statement it goes in as a £ - which is fine.
$query = "INSERT INTO `applicants` (`id`, `data`, .....)
VALUES ('0', '".addslashes($data )."',... ";
In the second statement the £ in $data goes in as £ The insert statement is
$stmt = $conn->prepare('INSERT INTO applicants SET
`data` = :data,
........
$stmt->bindParam(':data', $data);
Might the £ problem be caused by the way $stmt / bindParam insert statement?