Outputting / Displaying HTML or PHP in the browser


Might seem simple but can send people including my self a bit loopy.
I found the easiest way was to use (strip_tag function)

$yourVariable = "Your info";
echo strip_tags($yourVariable);


Date Added: