Update cek_tabel.php

This commit is contained in:
2026-06-09 14:49:10 +00:00
parent f195da993a
commit e8db04a437
+3 -5
View File
@@ -1,10 +1,8 @@
<?php
include 'koneksi.php';
echo "<pre>";
$q = mysqli_query($conn, "SHOW TABLES");
$q = mysqli_query($conn, "SHOW DATABASES");
while ($r = mysqli_fetch_assoc($q)) {
print_r($r);
while($r = mysqli_fetch_array($q)){
echo $r[0] . "<br>";
}