Harry Wiens wrote:What would be the correct syntax? 1. $_SESSION[test]
in this case "test" is a constant and must be defined by calling define("test", some_integer_value) before
But PHP is extremely tolerant and if it cannot find a defined constant called test, or if the array is between double quotes, PHP will read thsi as if it is $_SESSION['test'];
example: echo " bla $_SESSION[test] bla ";
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php