Cegah XSS PHP
echo htmlspecialchars($string_to_display, ENT_QUOTES, 'UTF-8');
Distinct Dotterel
echo htmlspecialchars($string_to_display, ENT_QUOTES, 'UTF-8');