I have an associative array in JavaScript that looks something like this:
data = { 1: "DA", 2: "DA", 3: "NE", 4: "DA", 5: "NE", "ime": "Kojo" }
I've converted it using jQuery.param(data) and I got something liek
1=DA&2=DA&3=NE&4=DA&5=NE&ime=Kojo
Don't mind the values
How can I pass that to PHP to ajax using $_GET
? And how can I receive it in PHP afterwards, still as an array? Thanks