CasperSecurity
<?php
session_start();
include '../../../../web/connection/connection.php';
$date = $_REQUEST['date'];
$syllabus_id = $_REQUEST['syllabus_id'];
$syllabus_topic_id = $_REQUEST['syllabus_topic_id'];
$class_taken_hour = $_REQUEST['class_taken_hour'];
$employee_id = $_REQUEST['employee_id'];
$status = $_REQUEST['status'];
$description = $_REQUEST['description'];
$db_handle = new DBController();
$newInsert = $db_handle->tableinsert("INSERT INTO course_covered(course_covered_id,date,syllabus_id,syllabus_topic_id,class_taken_hour,employee_id,status,description)
VALUES('$course_covered_id','$date','$syllabus_id','$syllabus_topic_id','$class_taken_hour','$employee_id','$status','$description')");
if($newInsert == TRUE){
echo 'Data Inserted Successfully';
}else{
echo 'Not Inserted' ;
}
?>