I'm trying to remove arrays in the cars array if the make
value belongs in the retiredCars array. I did run into array_search
but I'm not sure how to apply it to a multi dimensional array
$retiredCars = array("Saab", "Saturn", "Pontiac");
$cars = array
(
array('make' => 'BMW', 'model' => '325'),
array('make' => 'Saab', 'model' => '93'),
array('make' => 'Pontiac', 'model' => 'GTO')
);
In the example above, the $cars array should only contain the 'BMW' array after processing