first commit
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user