Thread: online payment
View Single Post
  #2 (permalink)  
Old February 24th, 2006, 05:54 AM
nalla nalla is offline
Friend of Wrox
Points: 464, Level: 7
Points: 464, Level: 7 Points: 464, Level: 7 Points: 464, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2005
Location: Colombo, , Sri Lanka.
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nalla Send a message via Yahoo to nalla
Default


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
Reply With Quote