Hi Chris,
Excellent calendar - hence the donation.
I have a search form that submits a month from a drop-down menu, say 'Jan'. I want to query the database to show a results page with booking items that are available in that month, (even if only one or two days are free).
As your initial database only holds dates booked I've assumed that I need to add a table that has all the dates of the year, say 2011. This might not be the way forward but I can't figure out the PHP to do it. I've tried various SQL queries but just can't get the correct result. (BTW, I'm using DATE_FORMAT(the_date, '%b') to search for all available dates in a particular month, e.g Jan.)
Can you help please?
John