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
Call array_values on it:
$a = array ( 0=>'h', 1=>'blabla', 2=>'yes' ); unset($a[1]); $a = array_values($a); var_dump($a); /* array(2) { [0]=> string(1) "h" [1]=> string(3) "yes" } */