1
0
This commit is contained in:
Daniel Tartavel 2019-09-02 21:25:05 +02:00
parent c7c6ceb0b5
commit 2958084b4f

View File

@ -28,9 +28,9 @@ while( $table = $db1->result->fetch_assoc())
//print_r($s); //print_r($s);
echo EOL; echo EOL;
if ( $s[0] == 'principaluri') echo "################################################"; if ( $s[0] == 'mail') echo "######################################### mail" ;
$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 )
{ {