Script.php: bugfix 21 http://118.25.96.118/bugzilla/show_bug.cgi?id=21 #6
|
@ -414,7 +414,7 @@ if (!empty($_POST["frm_uploadlab"])) {
|
||||||
|
|
||||||
|
|
||||||
$deadline = $deadlinedate." ".$deadlinetime;
|
$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"]);
|
$url = mysqli_real_escape_string($con, $_POST["url"]);
|
||||||
|
|
||||||
$deadline = $deadlinedate." ".$deadlinetime;
|
$deadline = $deadlinedate." ".$deadlinetime;
|
||||||
$date = date("Y-m-d H:i");
|
$date = date("Y-m-d H:i:s");
|
||||||
|
|
||||||
// GET UPLOADED FILES
|
// GET UPLOADED FILES
|
||||||
$labName = mysqli_query($con,"SELECT * FROM `lab_reports_table` WHERE Lab_Report_ID=$lab_id");
|
$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";
|
echo " Marks could not be greater than total";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$date= date("Y-m-d H:i");
|
$date= date("Y-m-d H:i:s");
|
||||||
$feedback="<br>@$date : ".$feedback;
|
$feedback="<br>@$date : ".$feedback;
|
||||||
|
|
||||||
$sql="UPDATE `lab_report_submissions` SET `Marks`='$marks',`Status`='$status',"
|
$sql="UPDATE `lab_report_submissions` SET `Marks`='$marks',`Status`='$status',"
|
||||||
|
|
Loading…
Reference in New Issue