Jon Yates wrote: > People, hope you can help. The below IF statement is getting a PARSE error. > Can anyone spot why? > > if (($this->checkReferralCB($this->benefitRef, $this->benefitNo, > $this->childDOB)) > && (!$this->checkLocation($this->post, "W")) && (!empty($this->childDOB))) > || ($this->checkPregnancy($this->benefitRef, $this->benefitNo))
Geez, use your editors paren-matching capabilities. Any modern editor should notify you that you are missing the last parentheses in if clause. I recommend emacs or vi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php