title: How to create an archive list in php?
body: <p>I am creating my companies blog and would like to know how to go about creating an archive page where the reader can click on the month/year and display all blog posts for that time period.</p>
  
  <p>I see this very often on blogs these days and would like to know how I can myself create it.</p>
  
  <p>It will look something like this:</p>
  
  <ul>
  <li>July 2012</li>
  <li>June 2012</li>
  <li>March 2012</li>
  </ul>
  
  <p>Obviously I would want the list created dynamically by referencing the time field in my blog table, but where to start?</p>
  
  <p>Is there any documentation on how to implement this? </p>
  
  <p>I am creating my own blog from scratch.</p>