Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- removing one element of an array
April 10, 2010, 5:59 pm
rate this thread
I have an array of arrays with the elements implicitly ordered by
the order they were added:
$ADetail= array(element1, element2...)
I need to remove one element of the array without changing the
order while maintaining the sequence.
and while that works, it leaves a gap in the numeric array index
eg: if I remove the first element the implicit index is
1,2,3 instead of 0,1,2,3
How can I do this ?