I have javascript passing an array to PHP with:
var mapIDArray = ["4f8d7684791635ec2e000000", "4f8cbc087916359181000000"];
$.getJSON("rebound.php",
{
'mapIDs[]' : mapIDArray
},
function(output){
console.log(output);
}
);
In rebound.php, I try to read the passed array (var_dump, print_r, etc.), such as:
print_r($_GET['mapIDs[]']);
But no luck...
print_r($_GET['mapIDs']);