Update cek_tabel.php

This commit is contained in:
2026-06-10 06:17:14 +00:00
parent 148335bde5
commit 476b26e34c
+6 -5
View File
@@ -1,10 +1,11 @@
<?php <?php
include 'koneksi.php'; include 'koneksi.php';
$q = mysqli_query($conn, "SELECT id, username, role, id_rumah_ibadah, password FROM users"); echo "<h3>Database Aktif</h3>";
echo "<pre>"; $q = mysqli_query($conn, "SHOW TABLES");
while($r = mysqli_fetch_assoc($q)){
print_r($r); while($r = mysqli_fetch_array($q)){
echo $r[0] . "<br>";
} }
echo "</pre>"; ?>