To pass an array in a GET request check this answer how to pass an array in GET in PHP?.
You can also do that on a POST request, for instance using a form as described here Passing arrays from HTML form to PHP.
But in your case it seems the best way would be to pass it using ajax+json and then decode on the server side. Check the following answer How to pass an array using PHP & Ajax to Javascript? :)