PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I assume you want to find the main key for all those arrays that have a valued for the 'Occurred' key equal to 1.
The [php_man]array_key[/php_man] function only searches a 1 dimensional array. Therefore you need to step through each main key, and use the array_key function on the resulting sub-array.