EDITED FROM ORIGINAL THAT HAD IMPLIED ONLY 1 ACCESS
If I have an array that contains x number of arrays, each of the form
array('country' => array('city' => array('postcode' => value)))
and another array that might be
array('country', 'city', 'postcode') or array('country', 'city')
depending on what I need to retrieve, how do I use the second array to identify the index levels into the first array and then access it.
stealth edit! Please mark it as an EDIT if you extend your question! And if the edit is a completely new question make a new on!$array['capital']['city']['postcode']as I have explained in comments