Re: PHP how to compare?
| From: | Ivo Stoykov | Date: | Wed, 14 Mar 2001 21:21:58 +0000 |
| Subject: | Re: PHP how to compare? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7482@lists.php.net to get a copy of this message | ||
Hi Duky
Try to add this before if statement
echo("$PASS<br>$PASSNOG");
it will show you whether your vars are correct and whether there is
something in at all!
if ($PASS != $PASSNOG) {
echo "password doesn't match! $back";
exit;
}
Good luck
Ivo
"Duky" <duky@cable.a2000.nl> wrote in message
news:3AAFC7A6.4127C7D6@cable.a2000.nl...
> 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
>