My array is built in this format:
$my_array = array(
1 => array('Pizza','9.99','New_York'),
2 => array('Chicken Wok','12.49','New_Jersey'),
...
);
Then I fetch a database which contains meals.
How can I get the corresponding key of $my_array by knowing only the meal (e.g. my DB contains 'Chicken Wok' and I need to be able to get '2' as the key)?
Please note that I cannot change the structure of $my_array.