SubmitLab.php: indent code using web-mode
							parent
							
								
									702f7ebb19
								
							
						
					
					
						commit
						faef5670db
					
				|  | @ -22,10 +22,10 @@ include 'Header.php'; | |||
| 	    $id = mysqli_real_escape_string($con, $_GET["id"]); | ||||
| 	    $url = mysqli_real_escape_string($con, $_GET["url"]); | ||||
| 
 | ||||
|         // Get course name
 | ||||
|         $result0 = mysqli_query($con,"SELECT Course_Name FROM courses_table WHERE URL='$url'"); | ||||
|         $row = mysqli_fetch_assoc($result0); | ||||
|         $course_name = $row['Course_Name']; | ||||
|             // Get course name
 | ||||
|             $result0 = mysqli_query($con,"SELECT Course_Name FROM courses_table WHERE URL='$url'"); | ||||
|             $row = mysqli_fetch_assoc($result0); | ||||
|             $course_name = $row['Course_Name']; | ||||
| 
 | ||||
| 	    $result1 = mysqli_query($con," SELECT `Type`, `Lab_Report_ID`, `Course_ID`, `Posted_Date`, `Deadline`, `Instructions`, `Title`, `Attachment_link_1`, `Attachment_link_2`, `Attachment_link_3`, `Attachment_link_4` FROM `lab_reports_table` WHERE Lab_Report_ID=$id  and Deadline > '$c_date'  ORDER by Lab_Report_ID DESC"); | ||||
| 	    if(mysqli_num_rows($result1) == 0) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue