From: "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]>

> 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...

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

Reply via email to