Update cek_tabel.php
This commit is contained in:
+4
-4
@@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'koneksi.php';
|
include 'koneksi.php';
|
||||||
|
|
||||||
echo "<h3>Daftar Tabel</h3>";
|
echo "<pre>";
|
||||||
|
|
||||||
$q = mysqli_query($conn, "SHOW TABLES");
|
$q = mysqli_query($conn, "SHOW DATABASES");
|
||||||
|
|
||||||
while($r = mysqli_fetch_array($q)){
|
while ($r = mysqli_fetch_assoc($q)) {
|
||||||
echo $r[0] . "<br>";
|
print_r($r);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user