The GET parameters just come from the URL for example: ?month=March&year=2014
Maybe my logic is not correct but what I’m trying to achieve should be simple: none of our above code can work because as our code currently is, it will only show the events in a chosen month that has both the start date and finish date in that month. I need the events to show in all possible months they span over.
Hi thanks for the suggestion but I don’t think you’ve understood what I’m trying to do and your code cannot work for this. Going back to my example:
If an event spans over two different months it is only appearing in the month of the start date. For example, if I have an event with a start date of 19/03/2014 and a finish date of 19/04/2013 it should appear in both the month of March and April, but not for now it can only appear in March, because in April it will fail when checking whether the start date is greater that the month start date (it started the month before)
Any other ideas? Thanks again