| Server IP : 172.67.216.113 / Your IP : 104.23.243.33 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home2/cp648411/public_html/ilawasia.onnud20.com/Ip/Classes/ |
Upload File : |
<?php
$ck='not';
include("../include/checkLogin.php");
include("../include/class.php");
include("../include/table_name.php");
$date_year = date("Y");
$date_month = date("m");
require_once("../../class/coreClass.php");
$core_db = new coreClass;
/*
exit();
echo "<pre>";
print_r($_POST);
echo "</pre>";
*/
$list = array(
'table'=>$name_table45,
'ClassesId'=>@$_POST["Id"],
'ClassesCode'=>@$_POST["data_classesCode"],
'ClassesTextTH'=>@$_POST["data_classesTextTH"],
'ClassesTextEN'=>@$_POST["data_classesTextEN"],
'LastUpdateDateTime'=>@$date,
'LastUpdateBy'=>@$_SESSION["UserInfo"][0]['UserId'],
);
$add = $actiondata_db->edit_db($list);
if($add['suc']==1){
$data = array("Message"=>'Success');
}else{
$data = array("Message"=>'False');
}
echo json_encode($data, JSON_UNESCAPED_UNICODE );