CasperSecurity
<?php
session_start();
include '../../../../web/connection/connection.php';
$id = $_REQUEST['id '];
$file_name = $_REQUEST['file_name'];
$file_path = $_REQUEST['file_path'];
$file_date = $_REQUEST['file_date'];
$file_purpose = $_REQUEST['file_purpose'];
$db_handle = new DBController();
$newInsert = $db_handle->tableinsert("INSERT INTO daily_attendance_info(id,file_name,file_path,file_date,file_purpose)
VALUES('$id','$file_name','$file_path','$file_date','$file_purpose')");
if($newInsert == TRUE){
echo 'Data Inserted Successfully';
}else{
echo 'Not Inserted' ;
}
?>