Why use htmlspecialchars() when you have htmlentities()? [closed]

coolcode

New Member
What are the differences between \[code\]htmlspecialchars()\[/code\] and \[code\]htmlentities()\[/code\]. When should I use one or the other?
 
Back
Top