Re: another newbie question! (doh!)
| From: | Steve Childs | Date: | Thu, 30 Jan 2003 13:49:09 +0000 |
| Subject: | Re: another newbie question! (doh!) | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3526@lists.php.net to get a copy of this message | ||
<snip>
Sorry about that, just realised its an object that gets returned from the
call to decode(), not an array. I just remembered its a neat (if a little
confusing at times ;) ) feature of PHP that you can step through properties
of an object using the same method of looping through the elements of an
array.
Doh! ;) 0 Just thought I'd post this to save anyone the effort of replying
and hoping it will help out any other newbies who came up against the same
problem!
Oh, the embarrasment ;)
Steve.