query("SELECT * FROM INFORMATION_SCHEMA.TABLES")->fetchAll(PDO::FETCH_ASSOC); print_r($schema); ?>
query("SHOW TABLES")->fetch_all(MYSQLI_ASSOC); print_r($schema); ?>This code example retrieves the schema of the "database" using the MySQLi library in PHP. The resulting schema is printed in an associative array format using the print_r function. Package library: PDO or MySQLi