How do I remove an element from an array without changing the index values for the rest of the array? Regards, Zoniac Team, Recruiting and Staffing Solution zoniac.com
As stated above, using print_r: $array = array(1, 5, 8, 9, 0); Array ( [0] => 1 [1] => 5 [2] => 8 [3] => 9 [4] => 0 ) unset($array[3]); Array ( [0] => 1 [1] => 5 [2] => 8 [4] => 0 )