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:
Clear Linux is open source, indeed, so its source code is available for anyone. They're just shutting down its support from them, they're not forbidding anyone else from taking over.
Yeah, I totally get your point, which is possible it could happen. I just hope there is a few people around him who are similar to where if they took over things would run pretty much the same. if not, then yeah, it could start to decline rapidly etc.
but I figure something that's been around for a longer period of time with a decent backing, and probably more users than most Linux distro's (which I would 'imagine' Mint is one of the more used Linux desktop distro's by volume of people who use it), is less likely to just disappear. but like you said, nothing is guaranteed. but I do think you are probably right in that Clem is probably the core of what keeps Mint, Mint. I like how it tends to stay pretty much the same with some slight tweaks here and there (but is largely the same) instead of that crap some people go for with change for the sake of change trying to create a overly fancy interface and other unnecessary stuff etc. I also feel Mint keeps a nice balance of things out-of-the-box where it's not too bloated, nor too striped down.
p.s. but I see Mint as a better Ubuntu basically. but I get your point like if it was more of a really serious choice of needing a 'safe bet' to use long term, then yeah something like official Ubuntu would be one of the better choices for sure given what you said with it being backed by an actual company which makes it a safer bet than Mint which is smaller and 'could' potentially be more fragile.
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