mme Posted June 8, 2011 Share Posted June 8, 2011 Hi, I am trying to make a simple reservation program with PHP and MySQL. How do I check if that Room is available between certain dates. My Table looks like this: Room | Start Date | Finish Date 2 | 1307520000 | 1307692800 Thanks, mme Link to comment https://forums.phpfreaks.com/topic/238812-comparing-dates/ Share on other sites More sharing options...
Maq Posted June 8, 2011 Share Posted June 8, 2011 Change the format of the incoming date to be a timestamp, then compare, also include the room condition. Have you attempted to write the query? Link to comment https://forums.phpfreaks.com/topic/238812-comparing-dates/#findComment-1227105 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.