CasperSecurity
<?php
session_start();
include '../../../../web/connection/connection.php';
$employee_salary_structure_id = $_REQUEST['employee_salary_structure_id'];
$salary_type_id = $_REQUEST['salary_type_id'];
$allowed_percentage = $_REQUEST['allowed_percentage'];
$earning_figure = $_REQUEST['earning_figure'];
$deduction_figure = $_REQUEST['deduction_figure'];
$attendance_dependents = $_REQUEST['attendance_dependents '];
$db_handle = new DBController();
$newInsert = $db_handle->tableinsert("INSERT INTO employee_salary_structure_figure (employee_salary_structure_id,salary_type_id,allowed_percentage,earning_figure,
deduction_figure,attendance_dependents)
VALUES('$employee_salary_structure_id','$salary_type_id','$allowed_percentage','$earning_figure','$deduction_figure','$attendance_dependents')");
if($newInsert == TRUE){
echo 'Data Inserted Successfully';
}else{
echo 'Not Inserted' ;
}
?>