How can I decrement a MySQL field every day?
Such as:
field1= 30 and after 24hours -> field1=29 until 0.
How can I decrement a MySQL field every day?
Such as:
field1= 30 and after 24hours -> field1=29 until 0.
You can execute a Unix cron job (there's some informations here) which will execute your PHP script every day.