I'm sending some variables to AJAX call with POST method to PHP file as below -
$.ajax({
type: "POST",
url:  "sendEmail.php",
data: {
       'v1':mailto,
       'v2':pname,
       'v3':ptype
},
Now in addition to this, I've some data as below - DataArray = {"name",value1, value2},{"name",value1, value2},{"name",value1, value2}.
How can I send above array (array of array objects) in above AJAX call. Also how can I get array in PHP file.
Any inputs will be helpful. Thanks!
