csrtechnew.ohctech.in/select_checkup_tab_master.php

18 lines
667 B
PHP
Raw Permalink Normal View History

2025-04-14 13:28:09 +05:30
<?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);