Using PHP I\'m trying to remove an element from an array based on the value of the element.
For example with the following array:
Array ( [671] =
foreach($array as $id => $data){ foreach($data as $index => $offending_val){ if($offending_val === 100){ unset($array[$id][$index]); } } }