Results 1 to 8 of 8
Apr 19, 2013, 02:43 #1
- Join Date
- Feb 2010
- 0 Post(s)
- 0 Thread(s)
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...
<img class="event" src="/images/eventPicture.png" /> <p class="nextEvent">Location<br /> Series<br /> 1-3 January 2013</p>