ptut-vhost/public_html/view/homepage.php

7 lines
170 B
PHP

<?php use \database\core\DatabaseDriver;
echo "<pre>";
echo "home page\n";
print_r( DatabaseDriver::getPDO()->query("show databases;")->fetchAll() );
echo "</pre>";