From 397d3650901c974d93cd79e786af7c5f36006fe2 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 1 Sep 2019 22:17:16 +0200 Subject: [PATCH] DT --- findindb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/findindb.php b/findindb.php index d6d1f77..85c7745 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_all(); - foreach($s in $column AS $key) + foreach($column AS $key=>$s) { if (array_search($string, $columns) !== false) {