title: Saving data to sql database via php
body: <p>I am saving a forms data into a sql database and it is working great for single items such as the following :</p>
  
  <pre><code>&lt;input value="&lt;?php echo isset($item['data1']) ? htmlspecialchars($item['data1']) : ''; ?&gt;" class="form-control"&gt;
  </code></pre>
  
  <p>What I would like to do is save an input field that ADDS to the end of current saved data, which would work like this :</p>
  
  <pre><code>Data saved 10/1/16:
  Hello
  Data saved 10/2/16:
  World
  </code></pre>
  
  <p>Data called from database would look something like : Hello, World</p>
  
  <p>An added bonus would be able to somehow display Data Like this in a text box such as this to the user :</p>
  
  <pre><code>- Hello
  - World
  - Whats
  - Up
  </code></pre>
  
  <p>The "-" should allow a user the ability to delete items from that one input in the sql database, but if all are kept, should of course save as "Hello, World, Whats, Up"
  How would this best be done?</p>
  
  <p>Sql Table :
  A single table is being used, with $item[data1] filling one column</p>