Update cek_tabel.php
This commit is contained in:
+6
-3
@@ -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>";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user