Hi,
I'm really struggling with this - I'm writing a simple webmail client
for myself (because they've blocked the common ones at work hehe)
Anyway, as soon as I tried to access..
$header = imap_header($inbox,$msgID);
$header->from['mailbox'];
... I get nothing.
I did a print_r on that, and I got..
Array ([0] = StdClass Object([personal] = "blah" ); etc...
so how do I access the data within the Object bit? a simple
$header->from['personal'] refuses to output anything.
Sorry to be a pain again, I know this is simple language stuff but I
can't find it in the manual. :)
Beth Gore
--
http://www.habitformer.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Re: [PHP] objects within arrays Beth Gore
- Re: [PHP] objects within arrays Andrew Brampton
- Re: [PHP] objects within arrays Beth Gore