Is there any way to convert plain text into HTML with line breaks?
<p>I have a PHP script which retrieves the contents of a raw / plain-text file and I'd like to output this raw text in HTML, however when it's outputted in HTML all the line breaks don't exist anymore. Is there some sort of PHP function or some other workaround that will make this possible?</p>

<p>For example, if the raw text file had this text:</p>

<p>hello<br />
my name is</p>

<p>When outputted in HTML, it will say:</p>

<p>hello my name is</p>

<p>Is there any way to preserve these line breaks in HTML? Thank you.</p>

<p>(If it helps, my script gets the contents of the raw text file, puts it inside a variable, and I just echo out the variable.)</p>
