In my table the table column name is description that store the book description, when I fetches the description from database the string Unicode \u00e2\u20ac\u2122 also in my string I want to remove these value from the string. Bellow is my php code
case 'bookdetails': {
$query = "SELECT * FROM book";
$result = mysql_query($query);
$num = mysql_num_rows($result);
while($rows = mysql_fetch_assoc($result)) {
$response["Book"]["Id"] = $rows['id'];
$response["Book"]["BookName"] = $rows['bookName'];
$response["Book"]["Description"] = strip_tags($rows["description"]);
}
if($num > 0) {
$response["success"] = 1;
} else {
$response["error"] = 1;
$response["Error_msg"] = "No record founds.";
}
echo json_encode($response);
break;
}
Output: Description : Afterwards he would pop them into the tumble drier \u00e2\u20ac\u201c etc....
I want to remove \u00e2\u20ac\u201c these from my output string.