title: Create html field with formatting buttons and store result in mySQL
body: <p>I am new to coding and I am trying to find a way to create an input field on a web page that has formatting buttons to enable e.g. bulleted lists, bold and underlined text etc. much like the text box that I am just using to post this question.</p>
  
  <p>I already searched this site and googled but all I find is how to customize submit buttons or how to format input fields (like background color or general text appearance) but this is not what I am looking for.</p>
  
  <p>I want to be able to create a custom formatted input like a bulleted list with some words that are bold or underlined and I want to store this formatted input in a mySQL database. If I then search the database and display the results on my page, I want the output to be formatted exactly as I submitted it.</p>
  
  <p>So the questions are:</p>
  
  <ol>
  <li>How do I create the input box with formatting buttons to customize my input? Is this possible with standard HTML? Do I need Javascript or PHP? If so, which functions and libraries to use?</li>
  <li>How do I keep the formatting while storing the data in a database? I think I read elsewhere that storing HTML tags is not recommended?</li>
  </ol>