DEV Community

Discussion on: PHP Functions every beginner should know.

Collapse
 
cchana profile image
Charanjit Chana

I had completely forgotten about htmlspecialchars(), would have saved me a lot of time had I read this yesterday morning :D

Collapse
 
peter279k profile image
peter279k

The yet another function about preventing XSS is htmlentities() :).