This is where I capture the POST vars:
$pwd=trim($POST['pwd']);
$pwd1=trim($POST['pwd1']);
This is where I test passwords:
if ($pwd != $pwd1){
echo "You need to enter both passwords the same.<br><a href=\"javascript:history.go(-1)\">Back</a>";
exit;
}
This test ALWAYS fails. I get the back button.
I am careful and enter the passwords slowly. Still fails.
Any ideas?