1) user inputs check-in and check-out dates (to check what rooms are available during the dates input)
2) database is queried for all room categories AVAILABLE within the dates indicated
step 1 and 2 work out well using the query below :
Code:
( SELECT rt.roomtypeID, rt.roomtype, rt.roomprice
Leave a comment: