[PHP] Re: Scope: global $GLOBALS[]

2004-02-16 Thread Paul Furman
Help. After changing $pics on the setting screen, the picture screen will not recognize the new value. I'm just not clear where I need to set global (where it's being initially set or where it's being picked up later) especially where it bounces back forth several times. For now I have global

[PHP] Re: Scope: global $GLOBALS[]

2004-02-16 Thread Paul Furman
The template wipes it out on the second round through after changing in settings. Coming into the template the second time it prints out empty. If I don't use global, the template gives an error that the variable doesn't exist. OK, well what I'm calling the template is really the configuration

[PHP] Re: Scope: global $GLOBALS[]

2004-02-16 Thread Paul Furman
None of them need global, just that initial config that calls them up with includes, that's where the variable is killed. I print the in out value for every page that's where it ends. I have no idea why. What would destroy the variable? All the other pages get it from that page just fine