Array: If i'm in the child array then how I tell the parent's key name..
| From: | Scott Fletcher | Date: | Fri, 30 Sep 2005 19:58:59 +0000 |
| Subject: | Array: If i'm in the child array then how I tell the parent's key name.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-223478@lists.php.net to get a copy of this message | ||
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...