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] =
You can use:
array_walk($your_array, function(&$sub, $key, $remove_value) { $sub = array_diff($sub, array($remove_value)); }, 100);