I want to add this into my database but I don't know how to send it.

```
db_table
id              int(11)
employee        varchar(40)
date_complete   date
time            time
status          boolean
job             varchar(50)

```

I have all the data but I don't know how to turn it into an array so that I can send it to php and save it in my mysql database.

or if there is a better way to structure this code to make it easier or better practice. 

```js
$(document).ready(function() {
  $('<div/>', {
    'class': 'extraPerson',
    html: GetHtml()
  }).appendTo('#container');
  $('#addRow').click(function() {
    $('<div/>', {
      'class': 'extraPerson',
      html: GetHtml()
    }).hide().appendTo('#container').slideDown(200);

  });
})

function GetHtml() {
  var len = $('.extraPerson').length;
  var $html = $('.extraPersonTemplate').clone();
  $html.find('[name=date]')[0].name = "date" + len;
  $html.find('[name=employee]')[0].name = "employee" + len;
  $html.find('[name=time]')[0].name = "time" + len;
  $html.find('[name=status]')[0].name = "status" + len;
  $html.find('[name=job]')[0].name = "job" + len;
  return $html.html();
}
```

```css
.extraPersonTemplate {
  display: none;
}
```

```html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<form name="form1" id="form1">
  <div class="extraPersonTemplate">
    <div class="controls controls-row">
      <select class="span2" name="employee">
        <option value="Joe">Joe</option>
        <option value="Anna">Anna</option>
        <option value="Liz">Liz</option>
        <option value="Daniel">Daniel</option>
      </select>
      <input class="span3" placeholder="date" type="date" name="date">
      <select class="span2" name="time">
        <option value="9:00:00">9 a.m.</option>
        <option value="10:00:00">10 a.m.</option>
        <option value="11:00:00">11 a.m.</option>
        <option value="12:00:00">12 p.m.</option>
        <option value="13:00:00">1 p.m.</option>
      </select>
      <select class="span2" name="status">
        <option value="finished">Finished</option>
        <option value="inprogress">In Progress</option>

      </select>
      <select class="span2" name="job">
        <option value="design">Design</option>
        <option value="html">HTML</option>
        <option value="php">PHP</option>
      </select>
    </div>
  </div>
</form>
<div id="container"></div>
<a href="#" id="addRow"><i class="icon-plus-sign icon-white"></i> Add another Job</p></a>
```