From d6365377efdce1c6f523969e22762e8d3a682fb4 Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Sun, 3 Sep 2023 20:31:46 +0800 Subject: [PATCH] Submissions.php: rename variables --- Submissions.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Submissions.php b/Submissions.php index fc3f46a..b7b8e23 100644 --- a/Submissions.php +++ b/Submissions.php @@ -29,9 +29,9 @@ $resultx1 = mysqli_query($con, "SELECT Lab_Report_ID, Title, lab_reports_table.C INNER JOIN courses_table ON courses_table.Course_ID=lab_reports_table.Course_ID WHERE Lab_Report_ID=$id"); while ($row = mysqli_fetch_assoc($resultx1)) { - $Report_Type = $row['Type']; + $report_type = $row['Type']; $c_id = $row['Course_ID']; - $Report_Title = $row['Title']; + $report_title = $row['Title']; $url = $row['URL']; } ?> @@ -109,7 +109,7 @@ echo "
$header
"; $header "; $header "; } else { - echo "

Export grades

"; + echo "

Export grades

"; while ($row = mysqli_fetch_assoc($result)) { $title = $row['Title']; @@ -270,7 +270,7 @@ echo "
$header
";