New Password Generated"; echo "

Your new password has been generated " ."and sent to the email
associated with your account. " ."

"; } /** * Email could not be sent, therefore password was not * edited in the database. */ else{ echo "

New Password Failure

"; echo "

There was an error sending you the " ."email with the new password,
so your password has not been changed. " ."

"; } unset($_SESSION['forgotpass']); } else{ /** * Forgot password form is displayed, if error found * it is displayed. */ ?>

Forgotten Password

A new password will be generated for you and sent to the email address
associated with your account, all you have to do is enter your username.

error("user"); ?>
Username: ">