I would do something like this:
on your first page:
<input type='hidden' name='myarray[]' value='$myarray'>
and on the second page:
$myarray = $_POST["myarray"];
That should work. Also, if you try:
extract($_POST);
you may not need to do that and $myarray should be accessible.