Did you check if you have named correctly your variables in your form? Your statement 
is more than corret. Try "echoing" your variables before making the comparision to 
verify if they are set. If not probabily you have a spelling problem on the form 


Fábio Ottolini

P.S.: The correct list for these issues is [EMAIL PROTECTED]

> -----Original Message-----
> From: Duky [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 14, 2001 4:34 PM
> Subject: [PHP-DB] PHP how to compare?
> 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
> -- 
> PHP Database 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: 

Reply via email to