login page to try again."; } else if (($count == 1) && ($password1 !== $password2)) { echo "Sorry, login was not successful. The password entered was incorrect. Please go back to the login page to try again."; } else if (($count == 1) && ($password1 == $password2)) { echo ucwords("