Passing arrays ... I'm going nuts here ...
Posted: Tue Aug 26, 2003 5:35 am
Hi guys ...
I got a script that does some things and has the results in an array. when a user clicks a button, a new frameset has to be loaded; top is navigation and bottom content.
now, i need to pass the values of the array to the navigation.
first i pass the array via POST to the frameset.
there i call the navigation script with:
echo '<frame src="site.php?result="'.$_POST['result'].'" ...
unfortunately the value of $_GET['result'] in site.php (navigation) is "array" ... just the string, no real array ...
what can i do?
cookies and session variables are not an option here ...
I got a script that does some things and has the results in an array. when a user clicks a button, a new frameset has to be loaded; top is navigation and bottom content.
now, i need to pass the values of the array to the navigation.
first i pass the array via POST to the frameset.
there i call the navigation script with:
echo '<frame src="site.php?result="'.$_POST['result'].'" ...
unfortunately the value of $_GET['result'] in site.php (navigation) is "array" ... just the string, no real array ...
what can i do?
cookies and session variables are not an option here ...