Convert string value into html format in php
<p>Any one know how to convert string value into html format in php?
For Example:</p>

<pre><code>$string = "Hello World!!
           How are you?"
</code></pre>

<p>If I echo $string, it will display like this:</p>

<pre><code>Hello World!!How are you?
</code></pre>

<p>Instead of:</p>

<pre><code>Hello World!!
How are you?
</code></pre>

<p>Any way php can conver the $string into html format? If I input:</p>

<pre><code>$string = "Hello World!!
           How are you?"
</code></pre>

<p>Php will convert it to become:</p>

<pre><code>$string = "Hello World!!&lt;br&gt;How are you?"
</code></pre>
