Requesting data from a certain month saved with time()
Posted: Thu Sep 21, 2006 4:00 pm
I am producing some code to construct a blog.
On the right hand side of the page I want to have an archive where it is listed in months, eg:
September 06
August 06
July 06
and so on.
When a blog is posted, the time is was posted is saved using the php function time()
When somebody clicks on a certain month I need the page to bring up all of the posted blogs which were posted in that month.
How would I query the database to find the blogs from a certain month, eg September?
On the right hand side of the page I want to have an archive where it is listed in months, eg:
September 06
August 06
July 06
and so on.
When a blog is posted, the time is was posted is saved using the php function time()
When somebody clicks on a certain month I need the page to bring up all of the posted blogs which were posted in that month.
How would I query the database to find the blogs from a certain month, eg September?