htmlspecialchars only takes care of <, >, single quote, double quote and ampersand whereas htmlentities translates all occurrences of character sequences that have some other meaning in HTML.

 


Comments




Leave a Reply

Name (required)
Email (not published)
Website