Source Code:
(back to article)
<?php $string = "Hello <strong>World</strong>!"; $encoded_string = htmlspecialchars($string); echo $encoded_string; ?>
Result:
Report an issue