1
0
This commit is contained in:
Daniel Tartavel 2019-09-01 22:19:10 +02:00
parent 397d365090
commit 00c341f846

View File

@ -14,7 +14,7 @@ while( $table = $db1->result->fetch_assoc())
echo "======================>" . $table['Tables_in_nextcloud']; echo "======================>" . $table['Tables_in_nextcloud'];
$db2->query("SHOW columns FROM " . $table['Tables_in_nextcloud']); $db2->query("SHOW columns FROM " . $table['Tables_in_nextcloud']);
$columns = $db2->result->fetch_all(); $columns = $db2->result->fetch_all();
foreach($column AS $key=>$s) foreach($columns AS $key=>$s)
{ {
if (array_search($string, $columns) !== false) if (array_search($string, $columns) !== false)
{ {