How can I print a string that contains <br> and html like that..so that it won't be executed.. I want it to print it like this:
This works<br> fine..
not like this..
This works fine
echo " This works <br> fine";
Didn't work how I want.. I want the user to be able to see the <br> as text, not as a new line...
This works fine<br>
look at this: http://www.php.net/manual/en/function.htmlspecialchars.php