From 949fae22c4efc007c1ef4cefde26cf62bc72004b Mon Sep 17 00:00:00 2001 From: "Satrya.IY29" Date: Tue, 9 Jun 2026 13:59:18 +0000 Subject: [PATCH] Update index.php --- index.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/index.php b/index.php index a82f383..c9d3951 100644 --- a/index.php +++ b/index.php @@ -8,22 +8,17 @@ if (!isAdminPemerintah()) { include 'koneksi.php'; - echo "
";
 
-echo "SPBU\n";
-var_dump(mysqli_num_rows(mysqli_query($conn,"SELECT * FROM spbu")));
+$q = mysqli_query($conn, "SHOW TABLES");
 
-echo "\nJALAN\n";
-var_dump(mysqli_num_rows(mysqli_query($conn,"SELECT * FROM jalan")));
-
-echo "\nPARSIL\n";
-var_dump(mysqli_num_rows(mysqli_query($conn,"SELECT * FROM parsil")));
+while($r = mysqli_fetch_array($q)){
+    print_r($r);
+}
 
 echo "
"; exit; - ?>