title: According to days change homepage or results
body: <p>i have a two tables, days and posts.
  <br>Days table</p>
  
  <pre><code>id  |  day  
  ----------
  1   | Day1
  2   | Day2
  3   | Day3
  4   | Day4
  5   | Day5
  6   | Day6
  7   | Day7
  8   | Day8
  9   | Day9
  10  | Day10
  11  | Day11
  12  | Day12
  </code></pre>
  
  <p><br>Posts table</p>
  
  <pre><code>id  |  day  |  posts
  ---------------------------
  1   | 1    |  Day1Text
  2   | 1    |  Day1Text
  1   | 1    |  Day1Text
  2   | 2    |  Day2Text
  1   | 2    |  Day2Text
  2   | 3    |  Day3Text
  1   | 4    |  Day4Text
  2   | 5    |  Day5Text
  </code></pre>
  
  <p>I have a 12 days and each days have a different posts, every day at 10.00 am this change, example Today(Day1) and only 1st day posts will appear. Tomorrow at 10.00 am 2nd day posts will appear. When the 12th day ends, this loop will return to the beginning and start again 1st day. How can i do this?</p>