Re: newbie needs help with array-checking

From: Date: Tue, 07 May 2002 17:30:55 +0000
Subject: Re: newbie needs help with array-checking
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96465@lists.php.net to get a copy of this message
Moritz Helten wrote:
Hello, I have a problem with checking an array if it is empty: if ($artikel[$i] != ""){ ... } That code does not work! May somebody help me? thanx, Moritz
take a look at the manual... there is a empty() function that checks for this very thing.

« previous php.general (#96465) next »