Jump to content

Hotel Reservation/Booking system


barfastic

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.