From edace4be7ea91a77f8b7ead88bf44b187023bedf Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 1 Sep 2019 21:01:25 +0200 Subject: [PATCH] DT --- findindb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/findindb.php b/findindb.php index 7e38298..f3aac57 100755 --- a/findindb.php +++ b/findindb.php @@ -9,7 +9,7 @@ $string = (isset($argv[3]))?$argv[3]:""; $db1 = new db ("nextcloud"); $db2 = new db ("nextcloud"); $db1->query("SHOW tables FROM $database;"); -print_r($db->result); +print_r($db1->result); while( $table = $db1->result->fetch_assoc()) { $db2->query("SHOW columns FROM $table");