You were almost on.. when I need to pass array's through pages, I put them in hidden variables to be posted, as such:
<input type=hidden name=array1 value="<?= urlencode(serialize($array1)); ?>">
So in the next page, you can retrieve it as so:
$array1 = unserialize(urldecode($array1));
And you are done.. hope that helps!
Chris King