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=>'blabla',
2=>'yes'
);
I used
unset($a[1]);
but i need the key to restart calculating the keys 0,1,2 ... etccc so i don't end up with:
array(
0 => 'h',
2 => 'yes'
)
but it should come return:
array(
0 => 'h',
1 => 'yes'
)