Re: [PHP] GLOBAL reserved word

2004-09-26 Thread Marek Kilimajer
Pahlevanzadeh Mohsen wrote: 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 wo

[PHP] GLOBAL reserved word

2004-09-26 Thread Pahlevanzadeh Mohsen
Dears,We can introduce a external variable to our function with GLOBAL reserved word.same following : 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 S