Re: if elseif elseif elseif....

From: Date: Thu, 05 Mar 2009 08:07:10 +0000
Subject: Re: if elseif elseif elseif....
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-289344@lists.php.net to get a copy of this message
Daniel Brown-7 wrote: > > On Wed, Mar 4, 2009 at 20:10, Al <news@ridersite.org> wrote: >> >> $obligatoryFieldNotPresent=null; >> >> foreach($_POST, as $value) >> { >> if(!empty($value)continue; > > Parse error. ;-P > There should be no comma there. See http://id2.php.net/manual/en/control-structures.foreach.php this . -- View this message in context: http://www.nabble.com/if-elseif-elseif-elseif....-tp22341403p22346913.html Sent from the PHP - General mailing list archive at Nabble.com.

« previous php.general (#289344) next »