Running constant scripts

I’m busy coding a website with adverts that have an expiry date. After the expiry date, the ads cannot show on the website anymore. Normally how I run scripts for expiry dates is running it with a login as its trigger. But with ads, I can’t wait until someone logs in to check the ads.

There is already loads of JavaScript running on all the pages, so I would rather not add more…..but I will if its necessary.

I’m not sure how to add a script to run constantly using PHP, only using setInterval() in a JS Script.

Leave a Reply

*

Hire Me
Follow Me!
Search
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.
Categories