title: How to retrieve and echo text from database while keeping format
body: <p>In my PHP file I am able to retrieve text from my MySQL database, but it isn't in the same format when I echo it.<br>
  The image attached shows how the text is in the database, and how I want it to be echoed. </p>
  
  <p><a href="https://i.stack.imgur.com/8J9nO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8J9nO.png" alt="Database text"></a></p>
  
  <p>But instead, it echoes it without the line breaks.  How can I keep the format?</p>