I submit the javascript 2 arrays with the following data:
values = {'tipoLicenciamento':tipoLicenciamento,'modulo':modulo} ;
values = {"modulo":modulo,"categoria":6};
In my php I get something like this when I give printr()
Array ( [modulo] => 2 [categoria] = 6)
Array ( [tipoLicenciamento] => 1 [modulo] => 2 )
It happens that I have 2 different buttons for the form, where each one generates this array. Can I know the name of the array positions?