A animatora Registered 25 Март 2008 #2 <?php $db = mysql_connect("hostname", "username","password"); { $sql = "SHOW TABLE STATUS"; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) { $total = $row['Data_length']+$row['Index_length']; } echo($total); } ?>
<?php $db = mysql_connect("hostname", "username","password"); { $sql = "SHOW TABLE STATUS"; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) { $total = $row['Data_length']+$row['Index_length']; } echo($total); } ?>