can you assign global value in a class like:try! :)
class test{
global $arr;
}
anyone?
if it does not work in this place, try setting it in the constructor function, which is a function in the class with the same name as the class,
class test{ var $test_arr;
function test() {gobal $arr; $this->test_arr=$arr; //or maybe even $this->test_arr=&$arr; }
}
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php