I have an array named 'From'. When I do a var_dump like this: It will show me this: Now how do I put [email protected] in a sting named $my_email ? I've tried $my_email = $results['From[11]'] , but with no luck. Anyone here who can help?
though tooo far above the edge It's a 2 dimensional array (seen from the element "From"), the second is with named keys... PHP: $my_email = $result['From'][0]['address']; Just a question, where does this structure is build from as it looks pretty complicated for such usage. Especially I do not understand for what the 1st dimension in "from" is needed, as an email normally has only one sender
Thank you Ben. Your input helped (and worked) re: Just a question, where does this structure is build from as it looks pretty complicated for such usage It's part of a PHP MIME decoding function that I'm trying to use for one of my projects.