hi all,
i am trying to create a room booking system in php.
now i want to check if a period exists within a given month.
i ask the user for the month and how many days they want to come, now i want to look in mysql (where i have every date of the year, with a status code 9=unavailable 1= available)
if there s a period available in the month they have given.
if for example a user says i want to come 4 days in november 2010, how would i go in my query with this?
thanks a lot!