title: display mysql newline in HTML
body: <p>Certain fields in our mysql db appear to contain newline characters so that if I SELECT on them something like the following will be returned for a single SQL call:</p>
  
  <pre><code>Life to be sure is nothing much to lose
  
  But young men think it is and we were young
  </code></pre>
  
  <p>If I want to preserve the line breaks when displaying this field on a webpage, is the standard solution to write a script to replace '\n\r' with a br HTML tag or is there a better way?</p>
  
  <p>Thanks!</p>