Hi Guys,
Does anybody know of a PHP function to encode strings containing special characters like & etc. to strings containing corresponding HTML entities?
The purpose is to display string data on a webpage without causing XML parsing errors.
Hi Guys,
Does anybody know of a PHP function to encode strings containing special characters like & etc. to strings containing corresponding HTML entities?
The purpose is to display string data on a webpage without causing XML parsing errors.