title: How to use nl2br() to handle string with '\r\n'?
body: <p>I am retrieving a product description value stored in database from admin through textarea upon form submit. When I select the description from database I get <code>$description = $row['description'];</code> and I would like to echo $description on main page like this: <code>echo nl2br($description);</code> but I see <code>"\r\n"</code> characters instead of making new rows. From what I've found here and on the net, your string must be used between double quotes, like this:</p>
  
  <pre><code>echo nl2br("Hello, \r\n This is the description");
  </code></pre>
  
  <p>Now, the value of <code>$description</code> from database is in fact <code>"Hello, \r\n This is the description"</code> but in my script I have to use it like this:</p>
  
  <pre><code>echo nl2br($description);
  </code></pre>
  
  <p>Which does not make br's, it is outputing <code>\r\n</code> instead. So, what can I do, I can't use double quotes here, from my experience. </p>