What Is the difference between htmlentities() and htmlspecialchars()?

Submitted by: Administrator
htmlspecialchars only takes care of <, >, single quote ‘, double quote " and ampersand. htmlentities translates all occurrences of character sequences that have different meaning in HTML.
Submitted by: Administrator

Read Online PHP Job Interview Questions And Answers