18 lines
667 B
PHP
18 lines
667 B
PHP
<?php
|
|
include ('includes/config/config.php');
|
|
include ('includes/auth/auth.php');
|
|
include ('includes/functions.php');
|
|
include ('access.php');
|
|
error_reporting(E_ERROR | E_PARSE);
|
|
$data = array();
|
|
$id = $_REQUEST['tab_id'];
|
|
if (!empty($id)) {
|
|
$query_for_select_checkup_tab_id = "select * from checkup_tab_master where tab_id='$id'";
|
|
|
|
error_log("query_for_select_checkup_tab_id: " . $query_for_select_checkup_tab_id);
|
|
$result_checkup_parameter = mysqli_query($conn, $query_for_select_checkup_tab_id);
|
|
while ($row_checkup_parameter = mysqli_fetch_assoc($result_checkup_parameter)) {
|
|
$data = $row_checkup_parameter;
|
|
}
|
|
}
|
|
echo json_encode($data); |