Re: if elseif elseif elseif....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Daniel Brown-7 wrote:
> 
> On Wed, Mar 4, 2009 at 20:10, Al <news@xxxxxxxxxxxxx> 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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux