is there a function that eliminates all the null values in an array. for example, say I have the following:
Array ( [1] => [2] => [3] => 7 [4] => [5] => [6] => 9 [7] => [8] => [9] => 7 [10] => 4 )
I want to reduce it to:
Array ( [3] => 7 [6] => 9 [9] => 7 [10] => 4 )
I've read the manual and can't seem to find it, but I'm sure it is there. It isn't array_unique, because that would eliminate [9] => 7 from the second array above.
any help?