Ok, I'm not exactly great at PHP, but I'm learning...
Here's what I would like to do:
An event occurs every Tuesday and Sunday. I would like to echo out the "next" date for the event.
For example-
"Yardsale every Tuesday and Saturday
Next Yardsale: " [echo the next event day, say 'May 29']
I have a good idea of what I want to do, but the actual code eludes me.
- check today
- is today a tues or sunday?
- if yes, echo date
- if no, is today+1 a tuesday or sunday?
- etc...
Any help would be greatly appreciated.
thanks!