<?php echo "foo = {$_SESSION['foo']}<BR>"; echo "bar = {$_SESSION['bar']}";
Not when it's inside a string. His statements should output the following: foo = somevalue<BR> bar = anothervalue Also... he's using { and } because you can't access an array's value unless it's within curly braces.
Not entirely true. You can still do the following:
echo "foo = $_SESSION[foo]<BR>"; echo "bar = $_SESSION[bar]";
Chris
Okay, so we're back to square one....why his sessions aren't working. This thread has been snipped too much, and I've already deleted the original, so I don't have the code that wasn't working.
On a side note, Chris, are you in Louisiana?
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php