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");