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