I would think this is simple, searching a multidimensional array with two keys to bring back the value of the third. I'm more confused then when I started and unable to get it to work.
Array (
[0] => Array ( [data] => Array ( [name] => Definite Position [Company_ID] => 4 [code] => DEF ) )
[1] => Array ( [data] => Array ( [name] => First Option [Company_ID] => 7 [code] => TNT ) )
[2] => Array ( [data] => Array ( [name] => Second Option [Company_ID] => 4 [code] => SEC ) )
[3] => Array ( [data] => Array ( [name] => Definite Out [Company_ID] => 6 [code] => DBO ) )
I would like to bring back the value of [name] when I have [Company_ID] of 4 and [code] of 'SEC'
Any help would be appreciated. Thanks