Initial Commit: Tugas Semua Pertemuan

This commit is contained in:
2026-06-08 22:37:30 +07:00
commit bdfa23b412
50 changed files with 6888 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
<?php
include 'koneksi.php';
$result = mysqli_query($conn, "SELECT * FROM jalan_rusak ORDER BY created_at DESC");
$data = [];
while ($row = mysqli_fetch_assoc($result)) {
$data[] = $row;
}
header('Content-Type: application/json');
echo json_encode($data);
?>