JavaScript replace <br> with \n
<p>I have just stored a paragraph of text in a MySQL database using JavaScript and PHP and replaced <code>\n</code> with <code>&lt;br /&gt;</code>, the problem I'm now having is when I try and retrieve the text using PHP it prints it out as; <code>&lt;br /&gt;</code></p>

<pre><code>Dear Sir/Maddam&lt;br /&gt;This is a letter concerning the following;&lt;br /&gt;I would like to.... 
</code></pre>
