Mit
Code: Alles auswählen
$rows=mysql_query("select count(*) as count from phpbb_dl_stats");
$totalnumberdownloads = mysql_result($rows,0);
Jetzt wollte ich noch deren Volumen zeigen.
Aber ich bekomme es nicht hin ... bin halt PHP-n00b:
Code: Alles auswählen
$rows=mysql_query("select sum(traffic) from phpbb_dl_stats");
$sumtraffic = mysql_result($rows,2);
Gruss
Holger