I can already post form data and input data to my .php file using Jquery and ajax post. But some of my fields have multiple fields with the same name. And ajax will not post the data as an array which i require in order to access all field data.
Short example
<form>
<input name="myinput1" type="text" /> <!-- Input without same name --!>
<input name="myinput2" type="text" />
<input name="myinput[]" type="text" /><!-- Input with same name --!>
<input name="myinput[]" type="text" />
<input name="file" type="file" /> <!-- Input for file --!>
</form