Friday, April 4, 2014

Convert all HTML entities - PHP

htmlspecialchars() - Convert special characters to HTML entities



(PHP 4 >= 4.3.0, PHP 5)
html_entity_decodeConvert all HTML entities to their applicable characters

html_entity_decode() - Convert all HTML entities to their applicable characters
get_html_translation_table() - Returns the translation table used by htmlspecialchars and htmlentities

urldecode() - Decodes URL-encoded string

No comments:

Post a Comment