From 8534fa0cbe2ad1e31ec6636687c176cd553d8d88 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Mon, 2 Sep 2019 21:50:05 +0200 Subject: [PATCH] DT --- findindb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/findindb.php b/findindb.php index cb85bb5..c4a2590 100755 --- a/findindb.php +++ b/findindb.php @@ -30,7 +30,7 @@ while( $table = $db1->result->fetch_assoc()) //echo EOL; if ( $s[0] == 'mail') echo "######################################### mail" . EOL ; //$query="SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE '" . $s[0] . "' LIKE '%" . $string . "%'"; - $query="SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE MATCH('$s[0]') AGAINST 'daniel.tartavel@free.fr'"; + $query="SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE MATCH($s[0]) AGAINST 'daniel.tartavel@free.fr'"; echo $query . "\n"; $db2->query($query); if ( $db2->result->num_rows != 0 )