[php]
if (isset($_SESSION[‘source’])) {
if ($_SESSION[‘source’] == “village”) echo “
the guru hiked through a dense forest for ages.
“;
if ($_SESSION[‘source’] == “moon”) echo “
the guru leapt off the moon and waved goodbye.
“;
if ($_SESSION[‘source’] == “mountain”) echo “
the guru slipped off the mountain path and rolled all the way to the bottom. luckily, he was unharmed.
“;
if ($_SESSION[‘source’] == “peak”) echo “
the guru carefully descended the mountain.
“;
}
[/php]
now, he stood in front of a large mountain that stretched into the clouds. there was a path that lead up the mountain, and there was also a dark cave.
should the guru go up the path or into the cave?
[php]
$_SESSION[‘path’] = 1;
$_SESSION[‘cave’] = 1;
$_SESSION[‘mountain’] = 1;
[/php]