WilliamMute007
Programmer
Hi Geniuses (if there such a word)
I am extremely clueless as to how to even start this much less get it working hence I will appreciate help please.
I have a staff rota which alternates. I want to display the next two record closest to today's date. i.e Today is sunday 11th January 2009. Display the next 2 weeks rota only, even though we have rota going all the way to december. I have the data in my DB and the dates are stored in using the DATE field on my MySQL DB.
How can I now use combination of MySQL and PHP to only display the next 2 weeks worth of rota?
Thank you a billion bunch in advance...
I am extremely clueless as to how to even start this much less get it working hence I will appreciate help please.
I have a staff rota which alternates. I want to display the next two record closest to today's date. i.e Today is sunday 11th January 2009. Display the next 2 weeks rota only, even though we have rota going all the way to december. I have the data in my DB and the dates are stored in using the DATE field on my MySQL DB.
How can I now use combination of MySQL and PHP to only display the next 2 weeks worth of rota?
Thank you a billion bunch in advance...