Source Code:
(back to article)
<?php $string = "I'm a paragraph"; $encoded_string = htmlspecialchars($string, ENT_QUOTES); echo $encoded_string; ?>
Result:
Report an issue