title: Detect a carriage return/new line in a text area with PHP
body: <p>How do I detect a carriage return/new line character in a text area in PHP?</p>
  
  <p>I want to replace them with <code>&lt;br /&gt;</code> tags before storing it in the database.</p>