1
0
This commit is contained in:
Daniel Tartavel 2019-09-02 21:16:50 +02:00
parent 9e6a4f8131
commit 0686d5c3d4

View File

@ -30,7 +30,7 @@ while( $table = $db1->result->fetch_assoc())
{ {
echo EOL; echo EOL;
if ( $s[0] == 'email') echo "################################################"; if ( $s[0] == 'email') echo "################################################";
$query="SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE " . $s[0] . " LIKE '" . $string . "'"; $query="SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE '" . $s[0] . "' LIKE '" . $string . "'";
echo $query . "\n"; echo $query . "\n";
$db2->query($query); $db2->query($query);
if ( $db2->result->num_rows != 0 ) if ( $db2->result->num_rows != 0 )