csrtechnew.ohctech.in/ambulance_getdata.php
2025-04-14 13:28:09 +05:30

16 lines
510 B
PHP

<?php
include('includes/config/config.php');
//include('includes/cached_functions.php');
include('includes/functions.php');
include('constants.php');
include('log_entry.php');
$id=$_REQUEST['ambulance_id'];
error_log("id verify:".$id);
$query="select ambulance_in_km from ambulance_details where ambulance_id='".$id."'";
$result=mysqli_query($conn,$query);
$data=mysqli_fetch_assoc($result);
$data["success"]="true";
error_log($data["success"]." name=".$data["ambulance_in_km"]);
echo json_encode($data);
?>