diff --git a/cek_tabel.php b/cek_tabel.php index 2193cb0..a4635ff 100644 --- a/cek_tabel.php +++ b/cek_tabel.php @@ -1,10 +1,11 @@ Database Aktif"; -echo "
";
-while($r = mysqli_fetch_assoc($q)){
- print_r($r);
+$q = mysqli_query($conn, "SHOW TABLES");
+
+while($r = mysqli_fetch_array($q)){
+ echo $r[0] . "
";
}
-echo "";
\ No newline at end of file
+?>
\ No newline at end of file