Re: Accessing the values of objects
| From: | John W. Holmes | Date: | Mon, 10 May 2004 20:18:49 +0000 |
| Subject: | Re: Accessing the values of objects | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185856@lists.php.net to get a copy of this message | ||
From: "John Nichel" <john@kegworks.com>
> Yeah, I get an empty value for the object I'm working with (quite a bit
> bigger than the example I posted) when I try to retrive the individual
> value, but the print_r of the object shows that it has value. I thought
> my syntax was wrong, but I guess I have to keep digging to find out
> where the 'trouble' is. Thanks for the help.
Try going step by step. You know the results of print_r($bob), now
print_r($bob->_four) and examine the results. Then
print_r($bob->_four['gamma']), etc... may help you track down where
something is going wrong...
---John Holmes...