From bb822e283475685bdd313924ce65b2d66666d2e8 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 1 Sep 2019 23:38:12 +0200 Subject: [PATCH] DT --- findindb.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/findindb.php b/findindb.php index e50fb06..f78c98f 100755 --- a/findindb.php +++ b/findindb.php @@ -25,14 +25,16 @@ while( $table = $db1->result->fetch_assoc()) $columns = $db2->result->fetch_all(); foreach($columns AS $key=>$s) { - print_r($s[0]) . "\n"; + print_r($s[0]); + echo EOL; echo "SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE " . $s[0] . "='" . $string . "'\n"; $db2->query("SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE " . $s[0] . "='" . $string . "'"); if ( $db2->result->num_rows != 0 ) { $tableau = $db2->result->fetch_all(); echo "column " . $s[0] . "\n"; - print_r($tableau) . EOL; + print_r($tableau); + echo EOL; } }