I think i figured it out. First, go to this web site:
http://www.thomasfrank.se/json_stringify_revisited.htmlDownload the stringifier and add it as an include at the top of your page, like this:
<script type="text/javascript" src="jsonStringify.js"></script>
Then create a standard multi-dimensional array in JavaScript, like this: var MyArray=[["first","second"],["third","fourth"]];
Then run the stringifier on the array, like this:
var StringifiedArray = JSONstring.make(MyArray);
That turns the array into a string capable of being passed by Ajax. Once that is done, create a simple JSON object with this format/syntax:
var PassArray = {keyname: StringifiedArray};
Now, pass this via Ajax using a jQuery statement like this:
$.get("serverside.php",PassArray,ReturnFunction);
That's a standard jQuery Ajax statement. The first part is the URL of the PHP script you wish to pass the array to. The second part is the variable that has been set equal to the simple JSON object you created above. The third part is the name of the Javascript function that will execute should anything be returned from the PHP script.
Now, on the server side, start your PHP script with a statement to GET the value of "keyname." Since you set "keyname" equal to the stringified array, by using this statement: $StringRetrieve=$_GET['keyname']; you end up setting the PHP variable $StringRetrieve equal to the stringified array.
At this point, you cannot do much with it, because it is still just a string. But PHP has a function to convert a string back into an array. You use this code to do it:
$RetrievedArray=json_decode($StringRetrieve,true);
This converts the stringified array into a useable PHP array. You should now find that $RetrievedArray=[["first","second"],["third","fourth"]]; and all PHP array functions will work perfectly on it.
I hope this helps.