Update cek_tabel.php

This commit is contained in:
2026-06-10 13:51:27 +00:00
parent 07f46ee96f
commit a0cd31c200
+6 -3
View File
@@ -1,11 +1,14 @@
<?php
include 'koneksi.php';
$q = mysqli_query($conn, "SELECT id, username, role, id_rumah_ibadah FROM users");
$result = mysqli_query($conn, "SELECT * FROM tabel_ibadah");
while ($row = mysqli_fetch_assoc($q)) {
echo "<h2>Data Rumah Ibadah</h2>";
while ($row = mysqli_fetch_assoc($result)) {
echo "<pre>";
print_r($row);
echo "</pre>";
echo "</pre><hr>";
}
?>