Initial commit

This commit is contained in:
ocabacaa
2026-06-12 10:11:19 +07:00
commit 9503c2dda4
18 changed files with 1119 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
header('Content-Type: application/json');
include '../config/koneksi.php';
$query = mysqli_query(
$conn,
"SELECT * FROM jalan"
);
$data = [];
while($row = mysqli_fetch_assoc($query)){
$data[] = $row;
}
echo json_encode($data);