Update cek_tabel.php

This commit is contained in:
2026-06-10 06:41:54 +00:00
parent 39e475743e
commit 8918e02d47
+5 -5
View File
@@ -1,11 +1,11 @@
<?php
include 'koneksi.php';
echo "<h3>Database Aktif</h3>";
$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] . "<br>";
while ($row = mysqli_fetch_assoc($q)) {
echo "<pre>";
print_r($row);
echo "</pre>";
}
?>