break it down.

if ( $ef != 'nm' )
    echo "a : $ef<br>";
else
    echo "b : $ef <br>";
if ( $HTTP_REFERER !=
'http://www.globalhealth.org/news/article.php3?id=1526' )
    echo "c : $HTTP_REFERER<br>";
else
    echo "d : $HTTP_REFERER<br>";

now you can see where the bug is.

--

  Chris Lee
  [EMAIL PROTECTED]


<[EMAIL PROTECTED]> wrote in message
BB6D932A42D6D211B4AC0090274EBB1DA0F1E8@GLOBAL1">news:BB6D932A42D6D211B4AC0090274EBB1DA0F1E8@GLOBAL1...
> For some reason, the following if  statement isn't working.  Maybe I
haven't
> had enough coffee to drink or maybe I've had too much - what am I missing?
>
> if ($efa != "nm" || $HTTP_REFERER !=
> "http://www.globalhealth.org/news/article.php3?id=1526";){do this);}
>
> Thank you, Shawna



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to