TJMAudio Posted November 13, 2006 Share Posted November 13, 2006 Hi everyone,Alright I have a table that is "dlnum". This contains file names and how many times they have been downloaded. How would I go about looping a query and adding each "dlnum" so I can echo out the total amount of downloads (for all files combined)?Thanks Link to comment https://forums.phpfreaks.com/topic/27154-total-of-all-added-mysql-rows/ Share on other sites More sharing options...
trq Posted November 13, 2006 Share Posted November 13, 2006 SELECT SUM(fieldtocount) AS totalcount FROM dlnum; Link to comment https://forums.phpfreaks.com/topic/27154-total-of-all-added-mysql-rows/#findComment-124136 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.