Re: checking if an array is empty

From: Date: Sun, 22 Sep 2002 00:52:15 +0000
Subject: Re: checking if an array is empty
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117126@lists.php.net to get a copy of this message
On Sun, 22 Sep 2002 01:13:08 +1000, you wrote: >how can i check if an array is currently empty , for instance i have a file >input field with an array name for multiple images, i need to check if there >was no file uploaded in that field name and ignore it in the loop I find that empty() works well to test if an array contains any elements...

« previous php.general (#117126) next »