I'm assuming these are strings you are comparing, correct?  If so, try this:

if(strcmp($PASS, $PASSNOG))
{
        echo "password doesn't match! $back";
        exit;
}

http://www.php.net/manual/en/function.strcmp.php


Josh Hoover
KnowledgeStorm, Inc.
[EMAIL PROTECTED]

Searching for a new IT solution for your company? Need to improve your
product marketing? 
Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify
the process for you.
KnowledgeStorm - Your IT Search Starts Here 

> Can somebody tell me what the proper statement is for this? I want two
> variables to match with eachother but this doesn't seems to work. Help
> please? THNX
> 
>    if ($PASS != $PASSNOG) {
>       echo "password doesn't match! $back";
>       exit;
>       }
> 
> Duky

Reply via email to