I have a column (money) in a table (users) and there's many rows in the table, and I'd like to sum up all the columns named 'money', but I don't know how to do it. Basically, I want it to sum up all money from all users on my website, since I'm making an info page for how many members there are, how much money all of 'em have together, you get it.
$usercount=mysql_num_rows(mysql_query("SELECT * FROM users"));
echo "Total Amount of Members: <b>" . $usercount . "</b><br>";
I found out how to do that, but how to do money? I bet I know, just, I forgot how. So please, help?