Maybe it makes sense to you like this: $mtxt = $GLOBALS['mtxt']; $mtxt === $GLOBALS['mtxt'] $mtxt[1] === $GLOBALS['mtxt'][1] bvr. >hmm.. the '===' operator, now that's weird ;) >>Because in my mind (which I know is totally wrong in this instance, I'm just >>explaining for your benefit) using: > >>$GLOBALS['mtxt'][1]; > >>is like saying "give me element 1 of the globals array" when I was thinking >>"but I want element 1 of the mtxt array" which is why I tried the various >>combinations of mtxt[1] _inside_ of the globals[]. > >>Hope that explains a little. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- [PHP] How to access arrays from $GLOBAL? Richard Davey
- RE: [PHP] How to access arrays from $G... Ford, Mike [LSS]
- Re: [PHP] How to access arrays fro... Richard Davey
- Re: [PHP] How to access arrays... Rasmus Lerdorf
- Re: [PHP] How to access ar... Richard Davey
- Re: [PHP] How to access arrays... Andrey Hristov
- [PHP] array within an array Caspar Kennerdale
- Re: [PHP] array within an arra... Jan Rademaker
- RE: [PHP] array within an arra... Niklas Lampén
- RE: [PHP] array within an ... Caspar Kennerdale
- RE: [PHP] array withi... Caspar Kennerdale
- RE: [PHP] array w... Niklas Lampén
- Re: [PHP] arr... bvr
- RE: [PHP] How to access arrays from $G... Hunter, Ray
- Re: [PHP] How to access arrays fro... Andrey Hristov