diff --git a/Course.php b/Course.php
index fbb3d17..f35ab4d 100644
--- a/Course.php
+++ b/Course.php
@@ -141,29 +141,29 @@ include 'Header.php';
echo "
No active assignments now.
";
} else {
while($row = mysqli_fetch_assoc($result1)) {
- $title=$row['Title'];
- $type=$row['Type'];
- $Marks=$row['Marks'];
- $ins=$row['Instructions'];
- $posted=$row['Posted_Date'];
- $deadline=$row['Deadline'];
- $att1=$row['Attachment_link_1'];
- $att2=$row['Attachment_link_2'];
- $att3=$row['Attachment_link_3'];
- $att4=$row['Attachment_link_4'];
- $labid=$row['Lab_Report_ID'];
+ $title = $row['Title'];
+ $type = $row['Type'];
+ $Marks = $row['Marks'];
+ $ins = $row['Instructions'];
+ $posted = $row['Posted_Date'];
+ $deadline = $row['Deadline'];
+ $att1 = $row['Attachment_link_1'];
+ $att2 = $row['Attachment_link_2'];
+ $att3 = $row['Attachment_link_3'];
+ $att4 = $row['Attachment_link_4'];
+ $labid = $row['Lab_Report_ID'];
$days_remaining = date_diff(date_create($deadline), date_create())->format('%a days, %h hours, %i minutes');
$full_link = "$att1";
- if($att2!=""){
- $full_link= $full_link."| $att2";
+ if($att2 != "") {
+ $full_link = $full_link."| $att2";
}
- if($att3!=""){
- $full_link= $full_link."| $att3";
+ if($att3 != "") {
+ $full_link = $full_link."| $att3";
}
- if($att4!=""){
- $full_link= $full_link."| $att4";
+ if($att4 != "") {
+ $full_link = $full_link."| $att4";
}
echo "
$title
($Marks Marks, $type)
$ins