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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

archive news

  • 02-06-2004 6:33pm
    #1
    Registered Users, Registered Users 2 Posts: 9,284 ✭✭✭


    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