the user inputs a date range jim, and the loop iterates for each date in that range and outputs categories and a date. that works fine and is used in other parts of the system. however now, for each of those days i need to check whether a date in a second date range is within the first, and output the details for each date in both... i can't explain it very well, ha. the loop first checks an array, then runs a date loop for that array, then there's a while loop, and a do while. and then they all resolve back again and iterate again for the original loop. it's a bit of a nightmare!! you may remember when i was writing the original one... ha. now they want more of my blood because it works too sodding well!! ha.
abz xx