DT
This commit is contained in:
parent
0686d5c3d4
commit
9968977c91
23
findindb.php
23
findindb.php
@ -26,21 +26,20 @@ while( $table = $db1->result->fetch_assoc())
|
||||
foreach($columns AS $key=>$s)
|
||||
{
|
||||
print_r($s);
|
||||
if ($s[0] != 'index' )
|
||||
|
||||
echo EOL;
|
||||
if ( $s[0] == 'email') echo "################################################";
|
||||
$query="SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE '" . $s[0] . "' LIKE '" . $string . "'";
|
||||
echo $query . "\n";
|
||||
$db2->query($query);
|
||||
if ( $db2->result->num_rows != 0 )
|
||||
{
|
||||
$tableau = $db2->result->fetch_all();
|
||||
echo "column " . $s[0] . "\n";
|
||||
print_r($tableau);
|
||||
echo EOL;
|
||||
if ( $s[0] == 'email') echo "################################################";
|
||||
$query="SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE '" . $s[0] . "' LIKE '" . $string . "'";
|
||||
echo $query . "\n";
|
||||
$db2->query($query);
|
||||
if ( $db2->result->num_rows != 0 )
|
||||
{
|
||||
$tableau = $db2->result->fetch_all();
|
||||
echo "column " . $s[0] . "\n";
|
||||
print_r($tableau);
|
||||
echo EOL;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user