diff --git a/addaccounts.php b/addaccounts.php index 29ed9aa..a4e7b7b 100644 --- a/addaccounts.php +++ b/addaccounts.php @@ -19,6 +19,11 @@ if (isset($_SESSION['userid'])) { // this section contains the code to add a new game account to track include_once ('includes/addaccount-submit.php'); } + + if (!empty($_POST['delaccid'])) { + // this section containts the code to delete an account + include_once ('includes/del-account.php'); + } if (!empty($_POST['delcharid'])) { // this section contains code to delete the selected characters @@ -35,8 +40,8 @@ if (isset($_SESSION['userid'])) { echo '
| Account name | Preferred? |
|---|