Update cek_tabel.php

This commit is contained in:
2026-06-09 15:25:24 +00:00
parent e8db04a437
commit 148335bde5
+6 -4
View File
@@ -1,8 +1,10 @@
<?php
include 'koneksi.php';
$q = mysqli_query($conn, "SHOW TABLES");
$q = mysqli_query($conn, "SELECT id, username, role, id_rumah_ibadah, password FROM users");
while($r = mysqli_fetch_array($q)){
echo $r[0] . "<br>";
}
echo "<pre>";
while($r = mysqli_fetch_assoc($q)){
print_r($r);
}
echo "</pre>";