biggieuk Posted October 7, 2010 Share Posted October 7, 2010 Hi, bit of a confusing one. I have dates stored in the database table bookings, fields 'start' and 'end' (YYYY-MM-DD) I then have two dates which the user has selected (YYYY-MM-DD) I need to return the id of all rows where the users selections are not booked in the database if that makes sense? Basically it's cheking to see which rooms are not booked already and returning them. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/215353-check-dates-are-not-already-booked/ Share on other sites More sharing options...
fenway Posted October 7, 2010 Share Posted October 7, 2010 This has been covered many times on these forums -- a simple search should reveal the relevant threads. Quote Link to comment https://forums.phpfreaks.com/topic/215353-check-dates-are-not-already-booked/#findComment-1119921 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.