PHP warunkowo usuń element z tablicy
foreach ($array as $key => $element) {
if ($element['age'] > 90) {
unset($array[$key]);
}
}
Friendly Hawk
foreach ($array as $key => $element) {
if ($element['age'] > 90) {
unset($array[$key]);
}
}