Hello Jeroen,

Sunday, May 23, 2004, 4:00:46 PM, you wrote:

>> Should username have quote around it?   Wouldn't it try to make it a constant 
>> otherwise?
>> echo $_SESSION['username']

JS> Unfortunately, imho, php doesn't seem to care that much in such cases ;-)
JS> $_SESSION[username] will have the same result as $_SESSION['username']

It cares enough to raise a script Warning ;)

Best regards,

Richard Davey
-- 
 http://www.launchcode.co.uk - PHP Development Services
 "I am not young enough to know everything." - Oscar Wilde

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

Reply via email to