使用AJAX将数据存储到MySQL

How do I add multiple data entries using AJAX? I found this snippet online:`

$.ajax({
          type: "POST",
          url: "../php/saveEntry.php",
          data: {id: someID}
          dataType: "html"
    });

`

So basically i want to ad multiple input id's.. do i just do this?

id: someID, id: someID, id: someID

or is each ID wrapped in {} curly brackets?

Please tell me if my question is unclear.

Thanks

the data attribute:

$.ajax({
          type: "POST",
          url: "../php/saveEntry.php",
          data: {
              id: $("#someid").val(),
              price: $("#somepriceid").val(),
              qty: $("#textAreaId").text()
          },
          dataType: "html"
    });
$("#id").each(function(index, value){
    $.ajax({
          type: "POST",
          url: "../php/saveEntry.php",
          data: {
                id: $("#id").val(),
                email: $("#email").val(),
                name: $("#inputName").val(),
           },
          dataType: "html"
    });