/ Published in: PHP
Extraido de Good PHP Tutorials, un articulo de Tim Bennett
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $dbname = "databasename"; $dbsize = 0; $dbsize += $row[ "Data_length" ] + $row[ "Index_length" ]; } echo "<p>The size of the database is " . formatfilesize( $dbsize ) . "</p>"; ?>
URL: http://www.goodphptutorials.com/track/163