|
Posted by "Matt Babineau" on 07/12/05 02:05
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
matt@criticalcode.com
http://www.criticalcode.com
Navigation:
[Reply to this message]
|