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.

URL: http://stackoverflow.com/questions/2838245/how-to-remove-htmlentities-values-from-the-database

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.