Submissions.php: format SQL statement
							parent
							
								
									59562ea497
								
							
						
					
					
						commit
						ecce12e1f3
					
				|  | @ -24,7 +24,10 @@ if (!empty($_GET["total"])) { | |||
|     $total = 0; | ||||
| } | ||||
| 
 | ||||
| $resultx1 = mysqli_query($con, "SELECT `Lab_Report_ID`,Title, lab_reports_table.Course_ID, `Posted_Date`, `Deadline`, `Marks`, `Type` , courses_table.URL FROM `lab_reports_table` INNER JOIN courses_table ON courses_table.Course_ID=lab_reports_table.Course_ID WHERE Lab_Report_ID=$id"); | ||||
| $resultx1 = mysqli_query($con, "SELECT Lab_Report_ID, Title, lab_reports_table.Course_ID, Posted_Date, Deadline, Marks, Type, courses_table.URL
 | ||||
|                                 FROM lab_reports_table | ||||
|                                 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']; | ||||
|     $c_id = $row['Course_ID']; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue