use just one = sign. So,
if ($PASS != $PASSNOG) {...
At 01:41 AM 3/15/01 +0100, Duky wrote:
>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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>--
>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: [EMAIL PROTECTED]
--
http://www.mossroot.com/index.php
AIM Handle: Buffalo2K
e-mail: [EMAIL PROTECTED]
"When you lose the power to laugh at yourself, you lose the power to think
straight." --Clarence Darrow
--
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: [EMAIL PROTECTED]