Re: Pass an array to another page BUT could be used simultan
Posted: Tue Apr 20, 2010 4:48 am
Well because you posted 4 lines of code, you give me 1 line of code that i can suggest.
put that line both after $_SESSION["word"] = $word;
and again after $all = $_SESSION["word"];
This will tell you exactly what is in the $_SESSION array.
I would also put a print_r($word) on your first page to see if anything exists in the original array as well.
Code: Select all
print_r($_SESSION)and again after $all = $_SESSION["word"];
This will tell you exactly what is in the $_SESSION array.
I would also put a print_r($word) on your first page to see if anything exists in the original array as well.