From f740ed9a03075da87f2f9fb1e06fedd7cc5abb93 Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Sun, 3 Sep 2023 20:33:35 +0800 Subject: [PATCH] Submissions.php: rename variable --- Submissions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Submissions.php b/Submissions.php index b7b8e23..ddaa46c 100644 --- a/Submissions.php +++ b/Submissions.php @@ -65,7 +65,7 @@ echo "
$header
"; $resultx1 = mysqli_query($con, "Select Count(*) as cnt from lab_report_submissions where lab_report_submissions.Lab_Report_ID=$id"); $row = mysqli_fetch_assoc($resultx1); - $count_subs = $row['cnt']; + $count_submissions = $row['cnt']; $resultx2 = mysqli_query($con, "Select COUNT(*) as cnt from lab_report_submissions where lab_report_submissions.Lab_Report_ID=$id and Status='Marked'"); $row = mysqli_fetch_assoc($resultx2); @@ -86,7 +86,7 @@ echo "
$header
"; ?>
-

Total submissions ()

+

Total submissions ()