From 0686d5c3d4a35cab6ebd1cde1b027659c711520c Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Mon, 2 Sep 2019 21:16:50 +0200 Subject: [PATCH] DT --- findindb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/findindb.php b/findindb.php index efc69d1..c5a8bf5 100755 --- a/findindb.php +++ b/findindb.php @@ -30,8 +30,8 @@ while( $table = $db1->result->fetch_assoc()) { echo EOL; if ( $s[0] == 'email') echo "################################################"; - $query="SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE " . $s[0] . " LIKE '" . $string . "'"; - echo $query . "\n"; + $query="SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE '" . $s[0] . "' LIKE '" . $string . "'"; + echo $query . "\n"; $db2->query($query); if ( $db2->result->num_rows != 0 ) {