Inside a foreach/as loop, in a nested if loop I have this little nugget:
else { $currentRec = current($r); echo "Rec to Kill: $currentRec"; //Testing purposes only - Killing the right thing? unset($r[$currentRec]); }
It's not working as I'd expect it to (which would be to kill the current record of my 2d array).
Of course, I'm a PHP novice, (more used to working with dbase/foxpro) so there's something in transitioning to PHP's logic that I'm most definitely missing. A nudge in the right direction would be lovely.
Thanks!