in reply to Re: remove current element out array
in thread remove current element out array
You wouldn't want to use the for loop with a splice - that would incrememnt the $i counter AND move up all the array's elements, causing an elemnet to be skipped.