-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimpanSetting.php
More file actions
24 lines (21 loc) · 950 Bytes
/
Copy pathsimpanSetting.php
File metadata and controls
24 lines (21 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
@session_start();
$notification = (@$_SESSION['WXpKc2RHTnVUVDA9__notification'] == '') ? null : $_SESSION['WXpKc2RHTnVUVDA9__notification'];
$leveldir = '';
include $leveldir.'config/connection.config.php';
include $leveldir.'config/function.php';
// $kd_ruangan = $_POST['kd_ruangan'];
$tinggi_tabel = $_POST['tinggi_tabel'];
$tinggi_row_atas = $_POST['tinggi_row_atas'];
$tinggi_row_bawah = $_POST['tinggi_row_bawah'];
$maksimal_pasien = $_POST['maksimal_pasien'];
$sql = "UPDATE master_setting_layar_penyinaran SET tinggi_tabel = '$tinggi_tabel', tinggi_row_atas = '$tinggi_row_atas', tinggi_row_bawah = '$tinggi_row_bawah', maksimal_pasien = '$maksimal_pasien'";
$query = sqlsrv_query($connection, $sql);
if($query){
$data = array(
// 'sql' => $sqlDetail,
'status' => 'Setting berhasil disimpan',
);
}
echo json_encode($data);
?>