Alright, I've been trying that and not getting the right results.
Here is the code I'm using.
$downloadscount = mysql_query("SELECT SUM(timesdownloaded) FROM sheets WHERE timesdownloaded>='0'");
$totaldownloads = mysql_num_rows($downloadscount);
My sql table looks like:
id int(11) No
artist varchar(50) No
title varchar(50) No
url varchar(2083) No
timesdownloaded int(11) No
lastdownloaded date No
date date No
Right now I have 20 rows in there. Most are set to 0, but five have a value of at least 1
thanks