Array: If i'm in the child array then how I tell the parent's key name..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Suppose that I'm in a child array and I wanna know how do I tell what key is
the parent's level, one level up...

For example,

--snip--
  $arr['ABC']['DEF'];
--snip--

Let's say the child is "DEF" then the key name one level up would be "ABC".
How do I determine the one level up?

Thanks...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux