1
0
This commit is contained in:
Daniel Tartavel 2019-09-02 18:53:31 +02:00
parent bb822e2834
commit 89b59aef39

View File

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