[PHP] Troubles Accessing Global Variables

2004-01-17 Thread Adelaide Yip
Hi, I'm having troubles accessing the global variables. From my understanding of PHP, when you declare a variable 'global' it is no longer just in the local scope, but becomes known in the global scope of the program. In file, 'layout.php' ... function top_sidebar_header() { global $

[PHP] Troubles Accessing Global Variables

2004-01-17 Thread Adelaide Yip
> Hi, > > I'm having troubles accessing the global variables. From my understanding > of PHP, when you declare a variable 'global' it is no longer just in the > local scope, but becomes known in the global scope of the program. > > In file, 'layout.php' ... > function top_sidebar_header() { >