I am having a problem with a php script. I want it take the text, and convert all the html tags into literal text. By this i mean if i have a string:
<?php
$str = "hello<br /><br />hello"
?>
I want it to print to the screen as hello<br /><br />hello. My script automatically prints it as an html entity, so it will actually do a line break in the string container. However, my script detects line breaks in the php and puts <br /> in, so I need to somehow take the string, convert it to straight text, then be able to still add html, and have it display as html.
Thanks, SN1P3R_85