first commit

This commit is contained in:
2026-06-10 20:51:12 +07:00
commit 55defff6cd
32 changed files with 10270 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);