RE: [PHP-DB] PHP how to compare?
| From: | EDB) | Date: | Wed, 14 Mar 2001 19:45:14 +0000 |
| Subject: | RE: [PHP-DB] PHP how to compare? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7478@lists.php.net to get a copy of this message | ||
Duky,
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 variables.
BR,
Fábio Ottolini
P.S.: The correct list for these issues is php-general@lists.php.net.
> -----Original Message-----
> From: Duky [mailto:duky@cable.a2000.nl]
> Sent: Wednesday, March 14, 2001 4:34 PM
> To: php-db@lists.php.net
> 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: 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
>