MySQL Forums
Forum List  »  PHP

Re: Update column when datetime = NOW()
Posted by: Trevor Pan
Date: February 20, 2020 08:06AM

To update this a bit.

The overall goal is a countdown timer for bids. So, on the web page the javascript reads the deadline in the database and shows a countdown timer until that deadline. This works great for the user and is solved.

What is unsolved is the best way to automatically update the status of the post from 0 or "unbidded" to 1 "bidded."

How do we set an event that calls the update function?

Thank you,

Options: ReplyQuote

Written By
Re: Update column when datetime = NOW()
February 20, 2020 08:06AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.