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 Quote 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 Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/115456-solved-date-range/#findComment-593915 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.