I know there a fair few entries on SO and the web on this however I just can\'t get to work - any help would be appreciated.
So i have an array in Javascript which I
This is what happens when you open your page (index.php)
GET request is issued to index.php and the content is returned. There are no values in the $_POST array so your print_r() line does nothing.POST request to index.php via AJAX. Note that this is an entirely new request, separate to the original GET. The $_POST array will be populated on this request however the response is discarded.Hopefully this will illustrate what you can do.