miguelleeuwe
Programmer
Hello,
I'm very new to php programming. What I need is some sort of global variable that I can access from more than one php file.
I read that it's posible to read a variable "out of scope" using the 'global' word, but only seems to work within the same php-file. I can't seem to get that behaviour for a variable declared in another php-file.
thanks in advance
Miguel
regards,
Miguel L.
I'm very new to php programming. What I need is some sort of global variable that I can access from more than one php file.
I read that it's posible to read a variable "out of scope" using the 'global' word, but only seems to work within the same php-file. I can't seem to get that behaviour for a variable declared in another php-file.
thanks in advance
Miguel
regards,
Miguel L.