I am working on some sort of meeting arranger for employees. I have a table schedule:
name | date_from | date_to |
+----------------------------------------+
Jamie | 01/25/2010 | 01/28/2010 |
I have 2 textbox with date picker namely date_from and date_to in my search page. Assuming employee can input as many schedules as they want. What I want is when the user selects a date range it will display the list of employees available/unavailable on that date for example the user picks:
Example 1:
date_from: 01/20/2010
date_to: 01/21/2010
search result: Jamie - Available
Example 2:
date_from: 01/22/2010
date_to: 01/25/2010
search result: Jamie - Unavailable - Meeting
Can you give me some idea or sample code on how can this be done. Thanks