/ Published in: PHP
Perfect for data that needs to be enclosed in cdata tags and have HTML entities.
Ex: htmlentities(utf8tohtml($string))
Expand |
Embed | Plain Text
function utf8_to_html($data) { } function _utf8_to_html($data) { $ret = 0; return "&#$ret;"; }
You need to login to post a comment.
