tags:

views:

26

answers:

1

how could i find out that twoVal is at postion 1?

$arr = array('Cool Viski' => array('oneVal' => '169304',
                                   'twoVal' => '166678',
                                   'threeVal' => '45134'));
+6  A: 
$position = array_search('twoVal', array_keys($arr['Cool Viski']));
deceze