Possible Duplicate:
PHP remove the first index of an array and re-index
How to Remove Array Element and Then Re-Index Array?
$arr = array(1, 2, 3);
unset($arr[0]);
print_r($arr);
//Array ( [1] => 2 [2] => 3 )
What's the function called, so the output instead would be:
//Array ( [0] => 2 [1] => 3 )