Hello,
I have 2 php files and I want to pass an array from 1 php file to another.
Contents of 1st file..
<?php
$arry[0]=3;
$arry[1]=7;
$arry[2]=6;
?>
<html>
<form name="input" action="test1.php" method="get">
<input type = "hidden" name="hid" value=<?=$arry; ?> >
<input type="submit" value="Submit">
</form>
</html>
Contents of 2nd file
<?
echo $_REQUEST['hid'];
?>
2nd file simply echoes the word 'Array', but I want to pass/view the contents of the array.