Siddharth Hegde wrote:
While we are on this topic, I have noticed that for only some keys,
the following does not work
$arr[KEY_NAME] but when I change this to $arr['KEY_NAME'] it works.
I seriosuly doubt that KEY_NAME is a restricted keyword as dreamweawer
highlights these in different colors and this happens very rarely. In
any case I will be working on PHP5 so i guess it will not happen again

This is explained in the manual section on arrays:

http://www.php.net/manual/en/language.types.array.php#language.types.array.donts

Sorry if that link wraps.


Cheers,

--
Torben Wilson <[EMAIL PROTECTED]>

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



Reply via email to