<html>
<head>
<title>Stats of MySQL tables</title>
<style type="text/css">.o {font-weight:normal;}</style>
</head>
<body>
<?php
require("class.nbrecs.php");
// Connection informations written in the class itself
$stats1 = new nbrecs();
$stats1->showtables();
echo "<hr size='2' color='red' noshade>";
// Connection informations provided at the instanciation
// $var = new nbrecs("mysql_server","database","mysql_user","password");
$stats2 = new nbrecs("localhost","xxxxxxx","yyyyyyy","zzzzzzz");
$stats2->showtables();
?>
</body>
</html>
|