Ok so I set a variable at the top of my class definition

var $tmp;
< bunch of functions>

Function $func1() {
        <do some stuff>
        $n = $this->result_from_another_function($var1, $var2, $var3); //
this function returns an ARRAY
        //print_r($n);
        $this->tmp = $n;
}


When I try to set $this->tmp = $n, it doesn't work!? But if I print_r($n)
the array that gets returned by $this->result_from_another_function($var1,
$var2, $var3) gets printed out and I can't understand this!!!!!! There is
plenty of data in $n, but not in $this->tmp!!!

I've read a couple tutorials but none explain this very well....anyone have
any thoughts?


Thanks,

Matt Babineau
Criticalcode
858.733.0160
[EMAIL PROTECTED]
http://www.criticalcode.com
 

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

Reply via email to