Hi
I have a table storing national holidays, and table stores :
1.Holiday Title
2.Month
3.Day
Now my web page displays the next 3 occuring holidays, this i managed to create, especially when i was in the middle of the year...but now the problem is that the remaining holiday of the year is 'New Year's Eve' and the next would be 'New Year's Day'. Now since my previous sql got only the next 3 when ordered by month and day the only display i'm getting is the 31st of december.
I would like to get...the 31st december and then restart again for the next 2...ie. 1st January and another holiday!
How can this be done?
Thanks
Ncik
I have a table storing national holidays, and table stores :
1.Holiday Title
2.Month
3.Day
Now my web page displays the next 3 occuring holidays, this i managed to create, especially when i was in the middle of the year...but now the problem is that the remaining holiday of the year is 'New Year's Eve' and the next would be 'New Year's Day'. Now since my previous sql got only the next 3 when ordered by month and day the only display i'm getting is the 31st of december.
I would like to get...the 31st december and then restart again for the next 2...ie. 1st January and another holiday!
How can this be done?
Thanks
Ncik