title: How to preserve formatting of text while storing data in mysql database using php?
body: <p>I'm using HTML5 text editor, using which people can </p>
  
  <ol>
  <li>Make text bold/italics. </li>
  <li>Insert link/image. </li>
  <li>Change text color, add bullet/numbers etc. </li>
  </ol>
  
  <p>How do I store and retrieve this data in/from mysql database so that the formatting is preserved? Currently, the text is getting stored, but as plain text. </p>
  
  <p>What approach should I adopt to fix this issue?</p>