/home/desid573/public_html/app
Edit: /home/desid573/public_html/app/get_price.php (760B)
query($sql);
while($row = $result->fetch_assoc()) {
$calc = $row["km"] * $km + $row["time"] / 60 * $time + $row["base"];
$array[$row["city"]] = "$calc";
}
}
if($array != null) {
$array["status"] = "OK";
} else {
$array["status"] = "Error fetching prices";
}
echo json_encode($array, true);
?>