GLOBAL reserved word

From: Date: Sun, 26 Sep 2004 16:11:17 +0000
Subject: GLOBAL reserved word
Groups: php.general 
Request: Send a blank email to php-general+get-197872@lists.php.net to get a copy of this message
Dears,We can introduce a external variable to our function with GLOBAL reserved word.same following : <? $n=3 function nn() { global $n; echo $n; }//end of func ?> But i need to introduce a array.Name of my array is month. I typed "global $month;".But it didn't work. Please guide me until i can use an external array. Yours,Mohsen. ===== ---------DIGITAL SIGNATURE------------------- ///Mohsen Pahlevanzadeh//////// Network administrator & programmer My home phone is: +98213810146 My email address is m_pahlevanzadeh at yahoo dot com My website is: http://webnegar.net ---------------------------------------------------------------- _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com

« previous php.general (#197872) next »