Scope issue

From: Date: Sat, 18 Dec 2004 00:43:31 +0000
Subject: Scope issue
Groups: php.general 
Request: Send a blank email to php-general+get-204639@lists.php.net to get a copy of this message
Hi I am having an issue with I think it is the scope of variables: I have a file that I am including which has the following" <?php // +---------------------------------------------------------------------- // | PHP Source // +---------------------------------------------------------------------- // echo "got language.php<br />"; global $langauge; $language['project_name'] = "P.L.I.M.S"; $language['sub_project_name'] = "DCR CC"; ?> In my main file, I am attempting to from with in a function call $language['project_name'] and i am failing... can you offer any advice? Thanks

« previous php.general (#204639) next »