Re: IF Statements
| From: | Rasmus Lerdorf | Date: | Wed, 15 May 2002 14:18:22 +0000 |
| Subject: | Re: IF Statements | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97722@lists.php.net to get a copy of this message | ||
Your brackets don't match up. Use an editor that lets you do
bracket-matching. Hit '%' in vi, for example.
-Rasmus
On Wed, 15 May 2002, Jon Yates wrote:
> People, hope you can help. The below IF statement is getting a PARSE error.
> Can anyone spot why?
>
> Cheers.
>
> Jon
>
> if (($this->checkReferralCB($this->benefitRef, $this->benefitNo,
> $this->childDOB))
> && (!$this->checkLocation($this->post, "W")) &&
> (!empty($this->childDOB)))
> || ($this->checkPregnancy($this->benefitRef, $this->benefitNo))
>
>
> <<JYvCard.vcf>>
>
>