|
Posted by Adam Plocher on 01/20/06 00:04
I believe the problem is that you're trying to access those variables
from within a function. Variables defined in include files should be
accessible to anything after the declaration (think of several include
files as one giant file, in a way). Functions are the only except,
really.
On the first line of your function add:
global $KTPTTopColor, $KTPTBlue, $KTPTRed;
this should allow your global variables to be accessible from within
the function.
Navigation:
[Reply to this message]
|