prepare($sql); $stmt->execute([$_POST['email']]); $user = $stmt->fetch(); if ($user != null) { // account exists mail($user['email'], "ByeCorps ID Password Reset Confirmation", "The email was sent!"); } } ?>

Forgot password

".$message."

"; ?>

Forgot your password? We'll send you an email to reset it.