1.

difference between htmlentities() and htmlspecialchars()

Answer»

In PHP htmlspecialchars picks , single QUOTE , DOUBLE quote and ampersand. On the other hand htmlentities do to translates all occurrences of character sequences that have some DIFFERENT meaning in HTML.



Discussion

No Comment Found