Menu
Hey guys,
I’m being really blond here …. (I am blond so I’m allowed to say that :p )
I have this array:
[code]
Array
(
[z] => tabular
[phone1] => n96
[phone2] => 6210-navigator
[phone3] => 6600-fold
[phone4] =>
[phone5] =>
[phone6] =>
)
I want to be able to delete the null/empty values/keys from the array.
There has got to be a simple way to do that surely?
It’s important that I keep the same keys to the same values. All the ways I’ve thought of so far involve re-indexing the array.
Any ideas? Just simply want to remove any keys/values that have an empty or null value.
Thanks v. much!! ?