![]() |
![]() |
#1 (permalink) |
Psycho
Location: Orlando, FL
|
[PHP/MySQL] monthly archives
I have a blog and I want to setup archive links for my entries split up by month. My first thought on how to do this would be to use an IF condition with my date timestamp for each entry, but I'm using a DATE_FORMAT function in my query to format the date like this:
PHP Code:
![]() |
![]() |
![]() |
#3 (permalink) |
Insane
Location: Wales, UK, Europe, Earth, Milky Way, Universe
|
Not quite sure what you're trying to do but maybe something like:
PHP Code:
__________________
There are only two industries that refer to their customers as "users". - Edward Tufte Last edited by welshbyte; 09-09-2004 at 07:05 AM.. Reason: Didnt understand the question the first time! |
![]() |
![]() |
#4 (permalink) | |
Psycho
Location: Orlando, FL
|
Quote:
Thanks! |
|
![]() |
Tags |
archives, monthly, php or mysql |
|
|