It easy to delete an 1D array element by using UNSET.
I think this leaves an empty space? The empty space needs to go too. I need to use it in an 2D and 3D array.
This here doesn't work 🙁
$ar =array (
array('a','b','c',),
array('d','e','f',)
);
foreach ($ar as $t)
foreach ($t as $m)
echo $m.'<br>';
unset($ar[0][1]); <------ trying to remove
foreach ($arrTest as $t)
foreach ($t as $m)
echo $m.'<br>';
Is there an algorythm for this kind of deletion?
Any help apprechiated.