Hi guys... i would like to ask how do i pass my javascript array to php?
I have an array that got the result from a json_encode array like so
$.ajax({
type : "POST",
url : "includes/Filter.php",
datatype: 'json',
success: function(data){
var obj = jQuery.parseJSON(data);
myArrayID= obj.ids;
}
});
now it retrieves the array just fine... but now i need to pass this array back to php and i want to retrieve it... how do i do that? by the way my array is an Associative array