first commit

This commit is contained in:
2026-06-11 21:20:59 +07:00
commit 846ce94473
16 changed files with 8106 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
<?php
// ============================================================
// api/kelurahan.php — Master data kelurahan
// ============================================================
require_once __DIR__ . '/config.php';
$db = getDB();
$rows = $db->query("SELECT id, nama, kecamatan FROM kelurahan ORDER BY kecamatan, nama")->fetchAll();
jsonOk($rows);