I'm sure this has come up before but I tried the search and couldn't find an answer.
It's a fairly straightforward problem but I just can't get my head around it.
I have a calendar script that displays by month. I want to be able to highlight dates on that calendar based on records stored in my database.
My database table stores bookings: START_DATE, END_DATE, ID, etc.
Without running a query for every day of the month to check if that date is available or not how do I do what I need?
Any help is greatly appreciated.