The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
how do i add a certain field together for all columns? for instance, on 'user' i have a field called 'donations' which stores how much money a user has donated. how do i add all users' donations together?
|
|
#2
|
||||
|
||||
|
Here's the query:
Code:
SELECT SUM(donations) AS total FROM user; |
|
#3
|
|||
|
|||
|
thanks
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|