1
0
This commit is contained in:
Daniel Tartavel 2019-09-01 21:01:25 +02:00
parent 44278360b9
commit edace4be7e

View File

@ -9,7 +9,7 @@ $string = (isset($argv[3]))?$argv[3]:"";
$db1 = new db ("nextcloud"); $db1 = new db ("nextcloud");
$db2 = new db ("nextcloud"); $db2 = new db ("nextcloud");
$db1->query("SHOW tables FROM $database;"); $db1->query("SHOW tables FROM $database;");
print_r($db->result); print_r($db1->result);
while( $table = $db1->result->fetch_assoc()) while( $table = $db1->result->fetch_assoc())
{ {
$db2->query("SHOW columns FROM $table"); $db2->query("SHOW columns FROM $table");