Showing posts with label What’s the difference between htmlentities() and htmlspecialchars()?. Show all posts
Showing posts with label What’s the difference between htmlentities() and htmlspecialchars()?. Show all posts
Saturday, May 16, 2009
What’s the difference between htmlentities() and htmlspecialchars()?
htmlspecialchars only takes care of <, >, single quote ‘, double quote " and ampersand. htmlentities translates all occurrences of character sequences that have different meaning in HTML.
Subscribe to:
Posts (Atom)