I know it's possible to count the number of rows in a MySQL query using count(blah), but is it possible to add up all the values in a column.
If I use this statement:
select time from fixtures_subs WHERE replaced='$name'
Is it possible to add up all the values in the column time?
So, if the results are
time
56
43
88
40
is there a way of returning 227?