I'm doing a For Each to loop through an array as you can see.
My Question is in each loop I'm running a check if it fails I want to delete this item from the array. How can I do this?
$oos = $_SESSION['outofstock'];
foreach ($oos as $row9) {
// do check then delete this one
}