Originariamente inviato da piero.mac
Devi selezionare il db interessato.

Codice PHP:
$tot0;
$query mysql_query("show table status");
while(
$res mysql_fetch_assoc($query)) {

echo 
"
      Nome Tabella: 
$res[Name] 

      Tot. size data = 
$res[Data_length] - size index $res[Index_length]
 

      "
;

      
$tot $tot $res['Data_length'] + $res['Index_length'];
}

echo 
"

Totale dati + indici  = "
round($tot/1024,'2')." Kb." 
ciao
mucias gratias ... scusa per la mia tontaggine ma 3 settimane di ferie mi hanno arruginito piu' di quanto pensassi (non che prima fossi sta cima)