wizkid- problem is element I want to cut out is not nesceserily at end of array.
stuartc1-
array_push() treats array as a stack, and pushes the passed variables onto the end of array. The length of array increases by the number of variables pushed.
I want to delete element in array, not to add a copy of existing element, push it into end of array and then delete it