3
I send javascript 2 arrays with the following data:
values = {'tipoLicenciamento':tipoLicenciamento,'modulo':modulo} ;
values = {"modulo":modulo,"categoria":6};
In my php I get something like when I give a printr()
Array ( [modulo] => 2 [categoria] = 6)
Array ( [tipoLicenciamento] => 1 [modulo] => 2 )
I happen to have 2 different buttons for the form, where each one generates this array. I can know the names of the positions of the array?
Want only the array key names?
– rray
"Name of positions" would be the keys of the array? I mean, in a result
modulo, categoria
and the othertipoLicenciamento, modulo
? Would that be?– Woss
exactly that Anderson
– gabrielfalieri