diff --git a/Submissions.php b/Submissions.php index 902a2ed..a0a37b1 100644 --- a/Submissions.php +++ b/Submissions.php @@ -92,6 +92,15 @@ echo "
"; } } + $resultx5 = mysqli_query($con, "SELECT COUNT(*) as cnt FROM course_groups_table WHERE Course_id=$c_id"); + if (mysqli_num_rows($resultx5) == 0) { + $count_group = 0; + } else { + while ($row = mysqli_fetch_assoc($resultx5)) { + $count_group = $row['cnt']; + } + } + ?>Assignment submissions ()
@@ -109,7 +118,7 @@ echo "";