Script.php: bugfix 21 http://118.25.96.118/bugzilla/show_bug.cgi?id=21 #6

Merged
mrlan merged 1 commits from Mvondo-bugfix-21 into master 2021-07-22 09:52:00 +08:00
1 changed files with 3 additions and 3 deletions

View File

@ -414,7 +414,7 @@ if (!empty($_POST["frm_uploadlab"])) {
$deadline = $deadlinedate." ".$deadlinetime;
$date = date("Y-m-d H:i");
$date = date("Y-m-d H:i:s");
@ -537,7 +537,7 @@ if (!empty($_POST["frm_submitlab"])) {
$url = mysqli_real_escape_string($con, $_POST["url"]);
$deadline = $deadlinedate." ".$deadlinetime;
$date = date("Y-m-d H:i");
$date = date("Y-m-d H:i:s");
// GET UPLOADED FILES
$labName = mysqli_query($con,"SELECT * FROM `lab_reports_table` WHERE Lab_Report_ID=$lab_id");
@ -729,7 +729,7 @@ if (!empty($_GET["savemarks"])) {
echo " Marks could not be greater than total";
return;
}
$date= date("Y-m-d H:i");
$date= date("Y-m-d H:i:s");
$feedback="<br>@$date : ".$feedback;
$sql="UPDATE `lab_report_submissions` SET `Marks`='$marks',`Status`='$status',"