PHP Classes

File: showtables.php

Recommend this page to a friend!
  Classes of Pierre FAUQUE   nbrecs class   showtables.php   Download  
File: showtables.php
Role: Example script
Content type: text/plain
Description: Script using the class
Class: nbrecs class
Extract and list MySQL database table information
Author: By
Last change:
Date: 13 years ago
Size: 571 bytes


Class file image Download

<title>Stats of MySQL tables</title>
<style type="text/css">.o {font-weight:normal;}</style>



// Connection informations written in the class itself
$stats1 = new nbrecs();

"<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");