dimanche 21 octobre 2018

How do I rotate links in a list of links once each day in Php

PHP question...

I have a list of 10 links that I want to rotate the order of, once each day so that:

  • Day 1 echos Link 1, Link 2, Link 3, etc.
  • Day 2 echos Link 2, Link3, Link 4, etc.
  • Day 3 echos Link 3, link 4, link 5, etc.
  • Etc.

This simply loops on each day so that Link 1 will follow after Link 10 to repeat the cycle. Thank you.




Aucun commentaire:

Enregistrer un commentaire