>> <?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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to