I have in my database table (News) a field type date.
I want to sort the news by year.
That is to display the news sorted descending and grouped by year only.
can anyone help me achieve this please.
I have in my database table (News) a field type date.
I want to sort the news by year.
That is to display the news sorted descending and grouped by year only.
can anyone help me achieve this please.