I have this json string in a row in mysql database
{"editor":"<p>\u067e\u062f\u0631\u0627\u0645<\/p>"}
And want to find this and replace with <a> tag, but for test, I just select it but look like it can't find it, I used this query:
SELECT * FROM `wp_postmeta` WHERE `meta_value` LIKE '%\u067e\u062f\u0631\u0627\u0645%'
What is the problem?
This is original query:
$keyword_j = "\u067e\u062f\u0631\u0627\u0645";
$sql2 = "UPDATE `wp_postmeta` SET `meta_value` = REPLACE(meta_value, '".$keyword_j."', '<a href=\"\/".$link."\">".$keyword_j."<\/a>') WHERE `meta_value` LIKE '%".$keyword_j."%'";