title: Is there a way in PHP array to show line break?
body: <p>I have an <code>index.php</code> file and an array which has message. Is there a way that instead of <code>&lt;br&gt;</code> tag  I can display the text with a new line in PHP so I can also store it in database?</p>
  
  <p>The code:</p>
  
  <pre><code>$array = array(
    array(
      'id' =&gt; 1,
      'message' =&gt; 'I\'m reading Harry Potter!',
    ),
    array(
      'id' =&gt; 2,
      'message' =&gt; 'Ok. I just got a notification that you sent me a pin on Pinterest.&lt;br&gt;Will you come to school tomorrow?',
    )
  );
  </code></pre>
  
  <p>For example:</p>
  
  <blockquote>
    <p>Ok. I just got a notification that you sent me a pin on Pinterest.<br>
    Will you come to school tomorrow?</p>
  </blockquote>