Re: PHP how to compare?
| From: | Duky | Date: | Thu, 15 Mar 2001 00:41:34 +0000 |
| Subject: | Re: PHP how to compare? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7496@lists.php.net to get a copy of this message | ||
Hmm.. maybe I wasn't clear enough... what I want is to check is WHEN the
two passwords aren't the same, then it should echo "password doesn't
match!". So when NOT the same, then echo. What to use for the NOT??
should it then be something like this with the exlamationmark?
if ($PASS !== $PASSNOG) {
echo "password doesn't match! $back";
exit;
}
Duky
Duky wrote:
>
> 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: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net