07-02-2011, 03:31 PM
|
#4 (permalink)
|
|
The Addict
Join Date: Aug 2008
Posts: 336
Thanks: 8
|
so everyday is going to be a different SRC='http://TOPSITE.COM/MYWEBSITE'? If you have a database I would save a table of sites_urls with an id field. then in the users tables also have a shown_sites field that would be a string of ids separated by a coma, another field with current_site with the id of the current site url. Also a last_date_shown field in the users table having the date that the current. From then it is just a checking if the last_date_shown has expired (if it is already the next day) then save a new id that hasn't been shown to the current_site field and also append that new id to the shown_sites list field. Then just show the current_site. Sorry I can't provide code. I am in a bit of a hurry. Hopefully it helps.
|
|
|
|