N
newformula
Guest
My PHP logic is failing me today, and I'm struggling with the following problem. I'm building an app which needs to do one thing if the current day is from a list of specific dates, and something else if not. I'm attempting to cater for public holidays in my application.
Ideally I'd like to store the dates in a simple way, such as a list or a text file - and if the current date matches a date in the list then my app does one thing, else it continues as normal.
Any help would be greatly appreciated.
Ideally I'd like to store the dates in a simple way, such as a list or a text file - and if the current date matches a date in the list then my app does one thing, else it continues as normal.
Any help would be greatly appreciated.