I have an array, for example
$array = array('one', 'two', 'three');
I want to remove the second item, so I remove it using:
unset($array[1]);
Which is fine, until you loop over the array, which of course has 2 length, but values in keys 0 and 2.. how can I reshuffle the keys?
Kind of an urgent one, its holding me up.
Help appriciated.. 🙂