I have the following which is driving me nuts.
Code: Select all
$newdata = htmlentities($value ,ENT_NOQUOTES,"UTF-8");
I have amended the ENT_NOQUOTES to ENT_QUOTES but that didn't do it.
When I render the data I always use
Code: Select all
html_entity_decode($value->htmlcontent,ENT_NOQUOTES,"UTF-8")Any help greatly received!