$result = SQL_Query_exec("SELECT SUM(downloaded) AS totaldl FROM users");
while ($row = mysql_fetch_array ($result)) {
$totaldownloaded = $row["totaldl"];
}
edit: Solved, it is just the space between mysql_fetch_array and ($result)
I noticed that for every pattern of SUM above i get: Please check your code for parse errors, we failed to parse " ". Conversion will be incomplete!". The warning referenced line is at WHILE, but I am thinking the SUM() is throwing the error. any help?