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.
Moderator: General Moderators
Code: Select all
print_r($_SESSION)