Submissions.php: rename variable
							parent
							
								
									d6365377ef
								
							
						
					
					
						commit
						f740ed9a03
					
				|  | @ -65,7 +65,7 @@ echo "<div><a href='Courses.php?course=$url'> $header </a></div>"; | |||
| 
 | ||||
|             $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 "<div><a href='Courses.php?course=$url'> $header </a></div>"; | |||
|             ?>
 | ||||
| 
 | ||||
| 	    <br> | ||||
|             <p class="text-muted"><b>Total submissions (<?php echo $count_subs; ?>)</b></p>
 | ||||
|             <p class="text-muted"><b>Total submissions (<?php echo $count_submissions; ?>)</b></p>
 | ||||
|             <!-- Nav tabs --> | ||||
|             <ul class="nav nav-tabs" id="myTab"> | ||||
|                 <li class="nav-item"> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue