//ads:
?>
Json_Encode not returning html even i try to encode JSON_HEX_QUOT | JSON_HEX_TAG
PHP Snippet 1:
echo json_encode(array("id"=>"1","data" => utf8_encode(strip_tags($row["post_content"]))));
PHP Snippet 2:
$jsonData = json_encode($string, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT );
JSON_UNESCAPED_SLASHES = Allows you to use "//" characters.
JSON_PRETTY_PRINT = Writes the json data legibly.