I assume you have a problem with your update SQL when updating the user account. Check your SQL you execute when updating user account. It should be like this.
UPDATE [tablename] SET [fieldname]=[fieldname]+newamount WHERE [condition]
This will over write the current value
UPDATE [tablename] SET [fieldname]=[fieldname] WHERE [condition]
nalaka hewage
|