How can i save a variable in a function?
The lower example doesn't work.
The var is always an empty string!
Anyone any solution?

---------------------------------------------------

$some_var = "foobar";

require('something.php');

class SOMECLASS
{
    function SomeFunction()
    {
        $this->AnotherFunction($some_var);
    }
}



----------------------------------------------------
Thanx
H.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to