feat: initial commit

This commit is contained in:
2026-06-10 16:50:45 +07:00
commit 7d7739d0af
77 changed files with 11620 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
include 'koneksi.php';
header('Content-Type: application/json; charset=utf-8');
$query = "SELECT * FROM spbu ORDER BY id DESC";
$result = mysqli_query($conn, $query);
$data = [];
if ($result) {
while ($row = mysqli_fetch_assoc($result)) {
$data[] = $row;
}
}
echo json_encode($data);
?>