barfastic Posted July 8, 2009 Share Posted July 8, 2009 Hey everybody, i have set a task to teach myself how to create an online booking/reservation system to implement to our hotel. What i want it to do is create a reservation system where visitors can log in and check to see if there are rooms available, and if there are create a booking/reservation... but seeing as i have gone into summer chillaxing mode, i cant get to start myself off with the database structure. any ideas or links to guides that might be usefull? regards, Barf Link to comment https://forums.phpfreaks.com/topic/165257-hotel-reservationbooking-system/ Share on other sites More sharing options...
p2grace Posted July 8, 2009 Share Posted July 8, 2009 First step would be to create (or find an existing script from google) for creating a dynamic calendar with navigational buttons. Then, populate that calendar querying a reservations table using the date as key. In the logic of the script I'd create a class-level var to store the total number of rooms, then all you have to do is a count of the number of reservations for a given date to determine if you have any vacancy. Should be fairly simple to setup. Link to comment https://forums.phpfreaks.com/topic/165257-hotel-reservationbooking-system/#findComment-871532 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.