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