From 545915b8be337cbdee3b2612a0c1fea8c44eb634 Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Fri, 4 Oct 2024 09:07:40 +0800 Subject: [PATCH] Stay on the same tab after creating a new TA account --- Admin.php | 20 +++++++++++++++----- Script.php | 4 ++-- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/Admin.php b/Admin.php index fd4dfbe..fedb051 100644 --- a/Admin.php +++ b/Admin.php @@ -66,7 +66,7 @@ if ($_SESSION['user_type'] != "Lecturer" && $_SESSION['user_type'] != "Admin") { ?>
- + Full name
Email @@ -93,10 +93,6 @@ if ($_SESSION['user_type'] != "Lecturer" && $_SESSION['user_type'] != "Admin") { echo '
'; $_SESSION['info_Admin_Users'] = null; } - if (isset($_SESSION['info_Admin_Users'])) { - echo '
'; - $_SESSION['info_Admin_Users'] = null; - } ?>
@@ -227,8 +223,22 @@ if ($_SESSION['user_type'] != "Lecturer" && $_SESSION['user_type'] != "Admin") { + + +