This commit is contained in:
2026-06-10 18:07:01 +07:00
parent c4295c5395
commit 5257946cfa
69 changed files with 10741 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
include 'db.php';
header('Content-Type: application/json');
$result = $conn->query("SELECT * FROM jalan");
$data = [];
while ($row = $result->fetch_assoc()) {
$row['geometry'] = json_decode($row['geometry']);
$data[] = $row;
}
echo json_encode($data);