Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

archive news

Options
  • 02-06-2004 7:33pm
    #1
    Registered Users Posts: 9,196 ✭✭✭


    hey...

    I've been asked to write a news script using php/mysql for a mates website. he wants the news to be displayed for the current month and then archived.

    do display the current month is fairly OK:

    display news where month==current

    but when archiving, how could I have it so that in the news archive it goes: May 2004, June 2004, July 2004 etc etc.

    how can I, create the list of months with news dynamically?

    thanks.


Comments

Advertisement