I tried serialize and unserialize. I'm passing the array using the URL. When I use unserialize() on the second page, it doesn't display anything.
This is my sample code to decode the array
$display = stripslashes($display);
$display = unserialize($display);
when I don't use unserialize I can see the results but they don't appear to be a array. (The function is supposed to receive an array)