How can I get a PHP include to update automatically after a set date?
I maintain a number of website for sports athletes and on their websites I have an include for their next event - just a small PHP file with when and where the next event is.
After each event I have to manually update the include to the clients' next event which is a bit of a pain and quite time-consuming.
Is there any way I can set up the include script to automatically update with a different file to include after a set date?
Or, even better, can I set up the include itself to display the updated content after a specific date?
This is what the include contains...
Thank you very much and I hope to hear from you!
<img class="event" src="/images/eventPicture.png" />
<p class="nextEvent">Location<br />
1-3 January 2013</p>