You can't pass an array in this fashion.
I suggest that you do something like this:
<?php
print '<input type="hidden" name="array" value="'
. implode("|", $array) . '">'";
?>
Then you can use explode() to get the array back in your called script. This will only work for single dimension arrays, and only work if you implode() it with a character that doesn't appear in any of your array values.