* Thus wrote Siddharth Hegde:
> 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.

Because that is the *right* way to access the keyname.

> 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

Don't rely on dreamweaver as what is the proper syntax.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

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

Reply via email to