/ Published in: PHP
Because htmlentities just doesn't cut it.
Recently needed this to work with 3rd part software, ended up having to make it pretty robust so thought I'd share!
Recently needed this to work with 3rd part software, ended up having to make it pretty robust so thought I'd share!
URL: http://www.dom111.co.uk/blog/coding/xml-entities-in-php/224