Re: [PHP] check if any element of an array is not "empty"

[email protected] (afan pasalic)
Newsgroups php.general
Message-ID <[email protected]>
yup! that's the one
:D

thanks richard



Richard Heyes wrote:
>> but I was thinking if there is the function does that.
>
> array_filter(). Note this:
>
> "If no callback is supplied, all entries of input equal to FALSE (see
> converting to boolean) will be removed."
>
> http://uk3.php.net/manual/en/function.array-filter.php
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.