Jump to content

Advertise management system


kranti

Recommended Posts

I want to develope a advertise management system. In this I display 6 advertises from database on a web page. After 2 hours I want to replace that 6 advertises with 6 different advertises from database and so on.Please give me solution

Link to comment
Share on other sites

It's not a javascript problem. I think I would record in a database when the first advertise is shown, then every time the advertise will be requested, I would check if the 2 hours have passed or not since the first one, if yes, then update the time and change the advertises.I can only think of this or a cron job.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...