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

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


Josh Hoover
KnowledgeStorm, Inc.

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