CasperSecurity
<?php
session_start();
include '../../../../web/connection/connection.php';
$section_id = $_REQUEST['section_id'];
$section_code = $_REQUEST['section_code'];
$section_name = $_REQUEST['section_name'];
$modified_on = date('Y-m-d');
$modified_by = $_REQUEST['modified_by'];
$is_active = $_REQUEST['is_active'];
$db_handle = new DBController();
$newUpdate = $db_handle->runMyUpdate("UPDATE section SET section_id = '$section_id',modified_on='$modified_on',modified_by='$modified_by',is_active='$is_active' WHERE section_id = '$host'");
if($newUpdate == TRUE){
echo 'Data updated Successfully';
}else{
echo 'Not updated' ;
}
?>