diff --git a/findindb.php b/findindb.php index c00869e..742096d 100755 --- a/findindb.php +++ b/findindb.php @@ -14,7 +14,7 @@ while( $table = $db1->result->fetch_assoc()) { echo "======================>" . $table['Tables_in_nextcloud']; $db2->query("SHOW columns FROM " . $table['Tables_in_nextcloud']); - $columns = $db2->result->fetch_assoc(); + $columns = $db2->result->fetch_all(); print_r($columns); } ?>