Jump to content

Get total downloads..


xam

Recommended Posts

[!--quoteo(post=336540:date=Jan 14 2006, 09:11 PM:name=fenway)--][div class=\'quotetop\']QUOTE(fenway @ Jan 14 2006, 09:11 PM) 336540[/snapback][/div][div class=\'quotemain\'][!--quotec--]

It's not a count, it's a sum. Strange-looking filenames, by the way. Try the following:

 

SELECT SUM(downloads) FROM yourTable

 

Hope that helps.

 

I used this code for it

SELECT SUM(downloads) AS 'total' FROM mytable

 

Thank you, I find to right way with you :)

 

 

Link to comment
https://forums.phpfreaks.com/topic/3199-get-total-downloads/#findComment-10910
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.