1
0
This commit is contained in:
Daniel Tartavel 2019-09-01 21:06:37 +02:00
parent edace4be7e
commit 7943ee04af

View File

@ -12,8 +12,9 @@ $db1->query("SHOW tables FROM $database;");
print_r($db1->result); print_r($db1->result);
while( $table = $db1->result->fetch_assoc()) while( $table = $db1->result->fetch_assoc())
{ {
$db2->query("SHOW columns FROM $table"); echo $table;
$columns = $db2->result->fetch_assoc(); //$db2->query("SHOW columns FROM $table");
//$columns = $db2->result->fetch_assoc();
print_r($columns); print_r($columns);
} }
?> ?>