Jump to content

Show different link every 24 hours


wee493

Recommended Posts

echo $date % 4;
is much simpler than your subtraction and division.

 

You know that's not random, right? It'll just cycle through the links in order. Today (the 23rd) would be the same image as the 19th, 15th, 11th, as well as the 27th and 1st.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.