PatPHP Posted July 18, 2008 Share Posted July 18, 2008 Hi Guys I have to fields in the db startdate and endate. Now I want to add a new record but make sure the startdate and endate are not overlapping. I probabley need to do a select command first. How can I establish that? Is it possible with sql? thx Link to comment https://forums.phpfreaks.com/topic/115456-solved-date-range/ Share on other sites More sharing options...
Barand Posted July 18, 2008 Share Posted July 18, 2008 see http://www.phpfreaks.com/forums/index.php/topic,206994.msg940542.html#msg940542 Link to comment https://forums.phpfreaks.com/topic/115456-solved-date-range/#findComment-593682 Share on other sites More sharing options...
PatPHP Posted July 18, 2008 Author Share Posted July 18, 2008 Hey thx this will solve my problem. Link to comment https://forums.phpfreaks.com/topic/115456-solved-date-range/#findComment-593915 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.