I want to display 1 random record from a database based on a week.
I need to determine if this is new, and if it is a new week, then select the entry and display the new entry.
I think I can just use one day of the week to create a new record, it will work anyway.
It’s really difficult for me to understand how I will store the record ID, and not choose a new one when someone visits the same day again or refreshes the page.
Any ideas? Let me know if I was not clear enough.
In addition, I do not have access to cron jobs because it hosted the hosting.
mike
source
share