user3500751
user3500751

Reputation: 17

how to create a php page that auto change the value of coloumn after 24 hours

i have a Mysql server, and my table have a column name 'status'. i want to create a page that check every entry , if entry 'status' value is 0 then make it false after 24 hours. How can i create this page. Please help . I am php beginner . Thanks

Upvotes: 0

Views: 302

Answers (1)

NickF
NickF

Reputation: 5737

  1. Create a page that change that 'status' field, without any time dependency. For example
  2. Run that page with CRON every 24 hours.

Upvotes: 1

Related Questions