1
0
This commit is contained in:
Daniel Tartavel 2019-09-02 21:55:57 +02:00
parent f73465f484
commit acdad6ada6

View File

@ -29,8 +29,8 @@ 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 '" . $s[0] . "' LIKE '%" . $string . "%'";
//$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 )