Re: if elseif elseif elseif....
| From: | Daniel Brown | Date: | Wed, 04 Mar 2009 22:54:09 +0000 |
| Subject: | Re: if elseif elseif elseif.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289296@lists.php.net to get a copy of this message | ||
On Wed, Mar 4, 2009 at 17:51, PJ <af.gourmet@videotron.ca> wrote:
> elseif ($obligatoryFieldNotPresent = 1) {
> $obligatoryFieldNotPresent = 0;
> }
Are you certain you only wanted a single equal operator in the
last elseif() condition? Further, are you sure it should even be an
elseif() and not a straight else?
--
</Daniel P. Brown>
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW10000