The problem is simple. I declare variables in a file, header.php. I then include() or require() this file in another file. From everything I've read, in the php manual, in several books, and in this very forum, those variables should be accessible to the rest of the php code.
I'm aware of the different way in which global variables act in php, this doesn't seem to be the problem.
More specifically, as an oversimplified example:
header.php:
$textbox = "<p class="text">";
$endtext = "</p>";
file.php:
include(header.php);
echo "$textbox";
From everything I've read, this should work. I've tried a variety of permutations: the global keyword, .inc as opposed to .php, nothing seems to work. Could something have been set during compile which might cause this behavior?
Thanks in advance...
Theo.