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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php