Project UAS Sistem Informasi Geografis (SIG)

This commit is contained in:
2026-06-08 20:24:54 +07:00
commit c6087ed7dd
33 changed files with 4549 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
header('Content-Type: application/json');
include 'db.php';
$data = [];
$res = $conn->query("SELECT * FROM spbu");
if ($res) {
while ($r = $res->fetch_assoc()) {
$r['type'] = 'point';
$data[] = $r;
}
}
echo json_encode($data);
?>