find a value by array key
| From: | olinux | Date: | Sun, 18 Nov 2001 01:00:27 +0000 |
| Subject: | find a value by array key | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14416@lists.php.net to get a copy of this message | ||
$fullmenu[$parent][$id] <-- I have this array -
what is the quickest way that i can call the index
that is $fullmenu[$parent][15]
in other words use a wildcard for the $parent variable
and specify the second key - i know that I could do a
double foreach thru them but is there a way to just
grab that value since there will only be one?
thanks,
olinux
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com