Changing the status of a field in PHP after a period of time
Posted
by grokker
on Stack Overflow
See other posts from Stack Overflow
or by grokker
Published on 2010-05-10T09:27:18Z
Indexed on
2010/05/10
9:34 UTC
Read the original article
Hit count: 264
Hi,
For example I made a reservation for a restaurant and it expires in 24 hours. In the reservation table of the db (MySQL), how do I automatically update the status to expired after 24 hours? What approach would you guys suggest? Thanks in advance!
© Stack Overflow or respective owner