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