I' developing web application using php and mysql. In there every half an hour data receive and stored in the data base.
ex: 6:00am 2.3
6.30am 2.8
7:00am 3.0
Now i want to take the difference between current value and previous value and store. How can I do that?
ex: 6:00am 2.3
6.30am 2.8
7:00am 3.0
Now i want to take the difference between current value and previous value and store. How can I do that?
Comment