I would like to update data in the database after a period of time has gone by.
For example, I have an item i wish to auction on my site for 7 days. After 7 days has gone, the item does not show on the site.
But I still want the data to be in the database, so the function should allow me to update the data on any value within the database table that I choose. This way if I decide to put the item back on again for the same period or longer, I can do so.
If any one out there can help me start this function I would be ever so greatful. I can't seem to find any tutorials that will help me on this.
The only code that I have that will let me select how many days I want the item on my site is this:
Neowin says it's $39.99, but their site says $399.99 after discount. Is Neowin covering the difference? I'll take 7 if they are. Not 8, not 6, never 5, but 7.
Yeah and now they added space above the tab bar, so now I have to painstakingly aim at just slightly below the top of the screen to reach a tab with my mouse.
truly hate it
are you sure you saw the numbers correctly? Sounds like 280 CAD was the year and not per month.
280 CAD is according to google $200 USD.
That ain't right for 1 month.
Question
seb86
I would like to update data in the database after a period of time has gone by.
For example, I have an item i wish to auction on my site for 7 days. After 7 days has gone, the item does not show on the site.
But I still want the data to be in the database, so the function should allow me to update the data on any value within the database table that I choose. This way if I decide to put the item back on again for the same period or longer, I can do so.
If any one out there can help me start this function I would be ever so greatful. I can't seem to find any tutorials that will help me on this.
The only code that I have that will let me select how many days I want the item on my site is this:
I still need a function that will tell the website that this item can no longer be displayed.
If any one can help me on this, I would appreciate very much.
I will look forward in your replies.
Thank you.
Link to comment
https://www.neowin.net/forum/topic/783918-php-mysql-update-data-in-the-database-after-a-period-of-time/Share on other sites
7 answers to this question
Recommended Posts