$deposit=$_POST['amountdeposit'];
$arr= array();
for($i=0;$i<10;$i++)
{
if($arr[$i]=='\0')
{ $arr[$i]= array("$deposit");
}
break;
}
$page= "step2.php?arr=$arr";
header("Location:$page");
?>
what i want to do is each time there's a change in $deposit
, this value is stored in $arr[$i]
and then it is passed in a url so that i could use GET on that step2.php
page.
What I see is just arr=array
instead of values :/
please help me.