Re: Logic Help...
| From: | CPT John W. Holmes | Date: | Tue, 26 Aug 2003 14:15:07 +0000 |
| Subject: | Re: Logic Help... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30097@lists.php.net to get a copy of this message | ||
From: "NIPP, SCOTT V (SBCSI)" <sn4265@sbc.com>
> This isn't specifically a DB related question, but... The following
> code snippet is not functioning for me. I keep receiving a parse error on
> the "if" line. Basically I want to stop execution of this page if either
of
> the conditions in the "if" statement exist. Thanks in advance.
>
>
> # while($cntr != 0) {
> # if (($shell[$cntr] eq "") || ($grp[$cntr] eq "Primary Gr")) {
Umm... you don't use 'eq' in PHP, you use == (that's two equal signs).
---John Holmes...