password checking
| From: | LDL Enterprise | Date: | Mon, 07 Aug 2000 21:01:43 +0000 |
| Subject: | password checking | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1838@lists.php.net to get a copy of this message | ||
I am hoping someone can point me in the right direction.
When a new user signs up they enter a password and then confirm the password. How can I check
that both passwords are the same before creating the users account. This is what I have and it does
not work.
<?php
if ($password == $password2) {
create account
} else {
echo "passwords do not match.";
}
?>
Thanks in advance for any help.
Larry L.
webmaster@ldlenterprise.com