HI,
i'm Leo, just a beginner at PHP. i got a problem while i try passing array into another page by <input type =hidden>
1st page
ex:employid_arr array();
nb: $employid_arr[1] = E011
$employid_arr[2 = E02
$employid_arr[3 = E045
$employid_arr[4 = E074
$employid_arr = serialize($employid_arr);
#employid_arr = urlencode($employid_arr);
<input type=hidden name=employid_arr value ='echo $employid_arr'>
2nd page
$employid_arr = urldecode($employid_arr);
$employid_arr = unserialize($employid_arr);
when i'm try to printf $employid_arr value, i got = a:4:{i:0;s:4:"E011";i:1;s:3:"E02";i:2;s:5:"PS045";i:3;s:5:"PS074";}
the problem is, how could i get value of array that i'm passing from 1st page,
can any one tell me, pls URGENT...