gaza165 Posted June 9, 2009 Share Posted June 9, 2009 This is my array of who an email has been sent by Array ( [0] => stdClass Object ( [personal] => Garry Sheppard [mailbox] => gaza165 [host] => hotmail.com ) ) How do i pick out aspects of the array, such as selecting just... 'Garry Sheppard'??? print_r($from); Link to comment https://forums.phpfreaks.com/topic/161487-items-from-array/ Share on other sites More sharing options...
trq Posted June 9, 2009 Share Posted June 9, 2009 You appear to have an array consisting only of one object. $email = $from[0]->personal; Would get what your after. Link to comment https://forums.phpfreaks.com/topic/161487-items-from-array/#findComment-852176 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.