Hi,
I'm having some problems trying to create a template.
I have a file in a folder called index.php.
That file calls two other files. One from the same folder called local.php (which contains some variables like "$a = 'firetruck').
The other is from another folder (on the same server) that is called display.php and does all the display and mysql searching.
What I try to do (so far, unsuccessfully) is say, in the file display.php, SELECT from table where whatever = $a. ($a being set in the local.php file).
Unfortunately, this just isn't working. Are variables included from one file not available to includes from another folder? Am I missing something simple?
I know I can do it with a include display.php?a=firetruck, but I'm looking for something slightly easier, if it exists.