Update ambil.php
This commit is contained in:
@@ -6,6 +6,9 @@ header('Content-Type: application/json; charset=UTF-8');
|
|||||||
include 'auth.php'; // Middleware auth
|
include 'auth.php'; // Middleware auth
|
||||||
include 'koneksi.php';
|
include 'koneksi.php';
|
||||||
|
|
||||||
|
echo "<pre>";
|
||||||
|
print_r($_SESSION);
|
||||||
|
exit;
|
||||||
|
|
||||||
if (!$conn) {
|
if (!$conn) {
|
||||||
echo json_encode(array("status" => "error", "message" => "Gagal konek DB"));
|
echo json_encode(array("status" => "error", "message" => "Gagal konek DB"));
|
||||||
|
|||||||
Reference in New Issue
Block a user