There is a table for the bank. If you are using MySQL 4.x, I believe you could use a query like this.
[sql]UPDATE user, utt_store_bank SET user.uttpoints=user.uttpoints+utt_store_bank.amoun t WHERE user.userid=utt_store_bank.userid;[/sql]
And then to clear the bank of all accounts, use these two queries.
[sql]DELETE FROM utt_store_bank;
UPDATE user SET uttstore_bankdata='';[/sql]
|