On 18 August 2003 18:49, Jonathan Pitcher wrote:
> Robin,
>
> There are 2 problems with the example you provided.
>
> One, $GLOBAL should be $GLOBALS.
>
> Second you can't print a value that has not been set. See updated code
> for an example.
>
>$aTest = "This is a test";
> $GLO
Robin,
There are 2 problems with the example you provided.
One, $GLOBAL should be $GLOBALS.
Second you can't print a value that has not been set. See updated code
for an example.
function GlobalCheck()
{
print "{$GLOBALS['aTest']}";
}
GlobalChec
2 matches
Mail list logo