"Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I am trying to work out how to display all of the keys in a > multi-dimensional array (not their values). For example: > > $array = array(); > $array['a'] = "1"; > $array['a']['b'] = "2"; > $array['a']['b']['c'] = "3"; > $array['a']['b']['c']['d'] = "4"; > > What I need is to be able to somehow print out the values a,b,c and d > based on the search result for "4". >
Could you describe a bit more in detail what you mean with "based on search result for 4"? Thanks and best regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php