From 8918e02d47831381171ca491c821d573bb14da45 Mon Sep 17 00:00:00 2001 From: "Satrya.IY29" Date: Wed, 10 Jun 2026 06:41:54 +0000 Subject: [PATCH] Update cek_tabel.php --- cek_tabel.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cek_tabel.php b/cek_tabel.php index a4635ff..fbdb36d 100644 --- a/cek_tabel.php +++ b/cek_tabel.php @@ -1,11 +1,11 @@ Database Aktif"; +$q = mysqli_query($conn, "SELECT id, username, role, id_rumah_ibadah FROM users"); -$q = mysqli_query($conn, "SHOW TABLES"); - -while($r = mysqli_fetch_array($q)){ - echo $r[0] . "
"; +while ($row = mysqli_fetch_assoc($q)) { + echo "
";
+    print_r($row);
+    echo "
"; } ?> \ No newline at end of file