You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
381 B
16 lines
381 B
<?php
|
|
error_reporting(0);
|
|
include '../DB.php';
|
|
try {
|
|
$conn=new DB();
|
|
if($conn){
|
|
$facilityno=$_REQUEST['facilityno'];
|
|
$sql="SELECT walking_hours,walking_times from facility_current_status where facilityno='$facilityno'";
|
|
$result=$conn->getAll($sql);
|
|
echo json_encode($result);
|
|
}
|
|
}catch (Exception $e) {
|
|
die($e->getMessage());
|
|
}
|
|
?>
|
|
|
|
|