CasperSecurity
<?php
session_start();
include '../../../../web/connection/connection.php';
$student_semester_id = $_REQUEST['student_semester_id'];
$student_id = $_REQUEST['student_id'];
$branch_section_id = $_REQUEST['branch_section_id'];
$reside_type = $_REQUEST['reside_type'];
$is_active = $_REQUEST['is_active'];
$db_handle = new DBController();
$newInsert = $db_handle->tableinsert("INSERT INTO student_semester_section(student_semester_id,student_id,branch_section_id,reside_type,is_active)
VALUES('$student_semester_id','$student_id','$branch_section_id','$reside_type','$is_active')");
if($newInsert == TRUE){
echo 'Data Inserted Successfully';
}else{
echo 'Not Inserted' ;
}
?>