diff --git a/findindb.php b/findindb.php index 742096d..d6d1f77 100755 --- a/findindb.php +++ b/findindb.php @@ -3,8 +3,7 @@ result->fetch_assoc()) echo "======================>" . $table['Tables_in_nextcloud']; $db2->query("SHOW columns FROM " . $table['Tables_in_nextcloud']); $columns = $db2->result->fetch_all(); - print_r($columns); + foreach($s in $column AS $key) + { + if (array_search($string, $columns) !== false) + { + echo "column " . $s . " => " . "$key"; + } + + } + } ?>