I have exported an array using var_export($var,true);
and stored it to a file arraystore.php
When I include arraystore.php on another page and try to use the array it doesn't work? should it, or is there a way to import the var for use in the new page? Maybe serialising and sending as the constructor of the class in use on the second page? would that work?