1
0
This commit is contained in:
Daniel Tartavel 2019-09-01 23:30:13 +02:00
parent aaf3410df0
commit 4665e0b972

View File

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