Invalid email provided"; } else { $password = cleanInput($_POST['password']); if(passwordCorrect($user->id, $password)) { $changeemail = changeEmail($_POST['email']); if ($changeemail == 1) { $alert = ""; } elseif ($changeemail == 2) { $alert = ""; } elseif ($changeemail == 3) { $alert = ""; } } } } } $body = << {$alert}
Reset Email
EOT; pageHandler(); $ph->pageTitle("Email Reset"); $ph->body = $body; $ph->output();