Recently, I wanted to show some of my html routines to browser but you all know that it is not possible by using echo command as the browser executes html. Here is the method to do it. This method converts < into < and > into > so it would all show up as text.
Code: Select all
<?php
echo htmlentities("<BR>");
?>