I am making a site that books cottage rentals. On my booking page i accept a check in and check out date i verify that they are valid dates, not in the past and that the Checkout date is greater then the check in. Im stuck now because i have to check my availability table to see if those days interfere with someone else's booking. I am having a hard time so i turn to you people of OSNN. Please. Is there a function that checks for overlapping in php or mysql. Or does anyone know some code to fix this problem. Thanks.