CasperSecurity
<?php
session_start();
include '../../../../web/connection/connection.php';
$branch_section_id = $_REQUEST['branch_section_id'];
$academic_session = $_REQUEST['academic_session'];
$branch_id = $_REQUEST['branch_id'];
$section_id = $_REQUEST['section_id'];
$capacity = $_REQUEST['capacity'];
$db_handle = new DBController();
$newUpdate = $db_handle->runMyUpdate("UPDATE branch_section SET branch_section_id = '$branch_section_id',branch_id ='$branch_id',section_id='$section_id' WHERE branch_section_id = '$host'");
if($newUpdate == TRUE){
echo 'Data updated Successfully';
}else{
echo 'Not updated' ;
}
?>