...

View Full Version : Archive question



drews1f
11-24-2006, 02:55 PM
Hello i am making a script to record how many insurance policies are sold in a month along with loads of other statistics.

How can i dynamically create a system whereby the archive automatically creates links once a month has ended! ie:

> 2006 > Jan - Feb - March - April - May etc

But at 00:00:01 on the 1st of Jan 07 i want

> 2006 > Jan

to be visible? Are there any good php/mysql tutorials on creating an archive like this?

Cheers

drews1f
11-24-2006, 03:24 PM
Ive actually figured most of it out. The only logic i cant figure out is:

My site only went live this month so i dont have any records before

2006 > November - December

How can i automically generate archive months and years from November 2006 forward only?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum