Some CLASS file help, should be a quick answer...
| From: | Matt Babineau | Date: | Mon, 11 Jul 2005 23:05:08 +0000 |
| Subject: | Some CLASS file help, should be a quick answer... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-218501@lists.php.net to get a copy of this message | ||
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