Page 1 of 1

Re: Pass an array to another page BUT could be used simultan

Posted: Tue Apr 20, 2010 4:48 am
by Weiry
Well because you posted 4 lines of code, you give me 1 line of code that i can suggest.

Code: Select all

print_r($_SESSION)
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.