urgent help with arrays
Posted: Sat May 01, 2010 8:15 am
How can i take the array below and remove the empty values and then reorder the array?
Array ( [0] => 20 [1] => [2] => [3] => [4] => [5] => 40 [6] => [7] => [8] => [9] => )
So this would then become [0]=> 20 , [1] => 40
Thank you in advance.
Array ( [0] => 20 [1] => [2] => [3] => [4] => [5] => 40 [6] => [7] => [8] => [9] => )
So this would then become [0]=> 20 , [1] => 40
Thank you in advance.