Update ambil.php

This commit is contained in:
2026-06-09 12:54:37 +00:00
parent 1a91065c63
commit 6ca8ed972b
+3
View File
@@ -6,6 +6,9 @@ header('Content-Type: application/json; charset=UTF-8');
include 'auth.php'; // Middleware auth
include 'koneksi.php';
echo "<pre>";
print_r($_SESSION);
exit;
if (!$conn) {
echo json_encode(array("status" => "error", "message" => "Gagal konek DB"));