From f195da993acac8a1284e24863743b7fe21d123ce Mon Sep 17 00:00:00 2001 From: "Satrya.IY29" Date: Tue, 9 Jun 2026 14:44:08 +0000 Subject: [PATCH] Update cek_tabel.php --- cek_tabel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cek_tabel.php b/cek_tabel.php index 052a807..33122ef 100644 --- a/cek_tabel.php +++ b/cek_tabel.php @@ -1,10 +1,10 @@ Daftar Tabel"; +echo "
";
 
-$q = mysqli_query($conn, "SHOW TABLES");
+$q = mysqli_query($conn, "SHOW DATABASES");
 
-while($r = mysqli_fetch_array($q)){
-    echo $r[0] . "
"; +while ($r = mysqli_fetch_assoc($q)) { + print_r($r); } \ No newline at end of file