Hi. I have a list of products and each have parts which in turn have their own codes. I need to find the correct part when I have the code.
So in the example below, I already have the code '8R195'. I want to check through all the arrays and find which one contains this code, so the output would be A in this case.
Any help greatly appreciated
$item1 => Array
(
('A') => array('825R15', '825R16', '65R17', '21575R175', '8R195'),
('B') => array('10R225', '825x20', '900R20'),
('C') => array('15R225', '29575R225', '30570R225', '38565R225')
)