Convert all HTML entities in database to actual characters

/ Published in: PHP
Save to your folder(s)

Sometimes a legacy database will have HTML entities stored in it.

This function converts them. Note that this function assumes you have a database abstraction layer, and may need to be modified to connect to YOUR database.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.