You have multiple ways to do that...
- Using http_build_query (Recommended way)
- Using sessions.
- Using serialization / deserialization
- Using json_encoding / json_decoding.
and a lot other ways...
Demonstration using the second way..
array.php
<?php
//.. your code..
$arr = array(1,2,3);
header("location:index.php?value=".serialize($arr));
index.php
<?php
if(isset($_GET['value']))
{
$arr = unserialize($_GET['value']);
print_r($arr);
}