PHP htmlspecialchars() Function

PHP htmlspecialchars() Function

The htmlspecialchars() function converts some predefined characters to HTML entities.

The predefined characters are:
& (ampersand) becomes &
" (double quote) becomes "
' (single quote) becomes '
< (less than) becomes <
> (greater than) becomes >
July 8, 2021
phphtmlspecialchars