• Post Reply Bookmark Topic Watch Topic
  • New Topic

Whenever counter gets increased by 1000 then add +1 to database.  RSS feed

 
Nitish Govekar
Greenhorn
Posts: 25
Android Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to add 1$ to user account   whenever counter gets increased in multiple of 1000s.


At 1000 add 1$

At 2000 again add 1$


Something like thgis
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, so that's what you want to do. But what is your actual question? Is this part of a program that you are writing?
 
Nitish Govekar
Greenhorn
Posts: 25
Android Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes  
 
Norm Radder
Rancher
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you tried? Please wrap any code you post in code tags.
 
Stephan van Hulst
Saloon Keeper
Posts: 7993
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You described what you want to achieve. What have you tried in order to achieve that? What problem are you having?
 
Nitish Govekar
Greenhorn
Posts: 25
Android Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys solved the problem thanks for helping out.


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!