SyntaxFix
Write A Post
Hire A Developer
Questions
You may need two or more loops depending on your array:
$arr[$key1][$key2][$key3]=$value1; // ....etc foreach ($arr as $key1 => $values) { foreach ($key1 as $key2 => $value) { unset($arr[$key1][$key2]); } }