diff --git a/findindb.php b/findindb.php index 988b976..2960c1d 100755 --- a/findindb.php +++ b/findindb.php @@ -13,7 +13,7 @@ print_r($db1->result); while( $table = $db1->result->fetch_assoc()) { //print_r ($table); - $db2->query("SHOW columns FROM $table['Tables_in_nextcloud']"); + $db2->query("SHOW columns FROM " . $table['Tables_in_nextcloud']); $columns = $db2->result->fetch_assoc(); print_r($columns); }