I have just stored a paragraph of text in a MySQL database using JavaScript and PHP and replaced \n with <br />, the problem I’m now having is when I try and retrieve the text using PHP it prints it out as; <br />
Dear Sir/Maddam<br />This is a letter concerning the following;<br />I would like to....
Well, the obvious solution is to just not replace
\nwith<br />in the first place.I don’t know what language you’re trying to reverse the damage in…