getting keys of multidim. array
| From: | Dobbels Bernhard | Date: | Thu, 09 Nov 2000 12:03:28 +0000 |
| Subject: | getting keys of multidim. array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-24605@lists.php.net to get a copy of this message | ||
Hi,
I'm looking for a way to get the keys of arrays like this:
$MENU["news"]["item1"]["Title"]=...
$MENU["news"]["item2"]["Title"]=...
$MENU["news"]["item3"]["Title"]=...
$MENU["news"]["item4"]["Title"]=...
I want to create an array (on the fly):
$Menu_Keys=[ "item1", "item2", "item3",...]
How can i accomplish this?
Bernhard
Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such a case, you should destroy this message and
kindly notify the sender by reply e-mail.