rotation of php data

General discussions related to php

Moderators: macek, egami, gesf

tinboye22
New php-forum User
New php-forum User
Posts: 3
Joined: Sun Mar 09, 2003 2:43 pm
Contact:

rotation of php data

Postby tinboye22 » Sun Mar 09, 2003 2:58 pm

Hi there, I have a site which i want all the data on the page to change each day, not everytime you click refresh.
How would I go about doing this?

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: rotation of php data

Postby WiZARD » Sun Mar 09, 2003 11:04 pm

Hi tinboye22!
It's easy, you create a session or cookie(cookie may is off at user) and give a finish time.
For example:
You put info in 2:00 at night and set livetime 22 hours
so after that youre info will live at user 22 hours.....


Return to “PHP General”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest