diff --git a/findindb.php b/findindb.php index 398137d..b5c554b 100755 --- a/findindb.php +++ b/findindb.php @@ -25,7 +25,7 @@ while( $table = $db1->result->fetch_assoc()) $columns = $db2->result->fetch_all(); foreach($columns AS $key=>$s) { - print_r($s[0]); + print_r($s); echo EOL; $query="SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE " . $s[0] . " LIKE '" . $string . "'"; echo $query . "\n";