$GLOBALS not $GLOBAL

Greg
--
phpDocumentor
http://www.phpdoc.org

Robin Kopetzky wrote:

Good Morning!!

I'm trying to print $GLOBALs this way and it doesn't work:
<?php
$aTest = "This is a test";
function GlobalCheck()
{
print "{$GLOBAL['aTest']}";
}
GlobalCheck();
?>
Does someone know the 'right' way to do this??


Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to