What is the syntax for passing an array through the url?
Posted: Tue Aug 07, 2007 11:15 am
I have an array in page 1 such as this:
$myArray[0] =1;
$myArray[1] = 2;
etc etc....
I want to pass this array through the url into page 2:
header("Location: ".myURLAndDir()."invited.php"."?type=massmail"."&thisArray=".$myArray);
Is this the correct syntax for passing the array?
$myArray[0] =1;
$myArray[1] = 2;
etc etc....
I want to pass this array through the url into page 2:
header("Location: ".myURLAndDir()."invited.php"."?type=massmail"."&thisArray=".$myArray);
Is this the correct syntax for passing the array?