menambahkan fitur login dan edit data

This commit is contained in:
powji17
2026-06-10 16:02:04 +07:00
parent 64ca4e3565
commit 7c1b4375e7
17 changed files with 1201 additions and 67 deletions
@@ -1,4 +1,7 @@
<?php
require_once '../../auth.php';
requireRole('admin');
header('Content-Type: application/json');
// Pastikan nama database sudah benar
$conn = new mysqli("localhost", "root", "", "webgis");