Hi I have an array, I need to change the keys, in an orderly manner but don\'t change the order the values are. e.g.
$a = array ( 0=>\'h\', 1=>\'blab
You can also use array_splice() instead of unset(), which will automatically reindex the array elements:
$a = array ( 0=>'h', 1=>'blabla', 2=>'yes' ); array_splice($a,1,1); var_dump($a);