prepare("update users set credentials = ? where email = ? "); $ins->execute(array($encpass,$email)); $content = 'your new password is '.$pass."\n"; mail($email,'New password at mm214',$content); echo 'Password changed! Check '.$email.'
'; } ?> Enter your email to reset your password!
Email:

Enter the code you see above: