7

Possible Duplicate:
htmlentities vs htmlspecialchars

I know the difference between these two functions. What I want to know is what would be the possible reasons to use htmlspecialchars() when you have a more complete option, that is htmlentities()?

Community
  • 1
  • 1
Hugo Mota
  • 11,200
  • 9
  • 42
  • 60

0 Answers0