Radwan Aladdin wrote:

Hi all

Is it possible in mySQL to put a timer that changes a value inside a row in a table every while?

For example : Add "1" to the value very 10 minutes for example.. Field number = 5 after ten minutes = 6 after another 10 minuste = 7..Etc..

Is it possible?And how?

Regards..



I am not aware of any such functionality within MySQL.

However if you have a one-one relationship between a period of time and an incremental,
could you not simply INSERT a timestamp and then compare with times with NOW,
and then divide by your time period?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to