Zitat von Dingsi Hab ich dir das nicht schon irgendwann mal im Chat erklärt? Oo° PHP-Code: $result = mysql_query("SELECT SUM(`Downloads`) as `Download_Count` FROM Downloads WHERE `id` = 1"); $row = mysql_fetch_array($result); echo $row['Download_Count']; Sollte eigentlich alle Downloads zusammen zählen. das where vergessen.... Interessant. O_o *notier* Poste solche Sachen hier ins Forum statt sie für Chats zu vergeuden.
$result = mysql_query("SELECT SUM(`Downloads`) as `Download_Count` FROM Downloads WHERE `id` = 1"); $row = mysql_fetch_array($result); echo $row['Download_Count'];
Foren-Regeln