Jump to content

php booking and concurrent user help


puja

Recommended Posts

Hi
I am tring to do a booking system for holiday accommodation and im struggling with getting the bookings to work.
I was thinking of doing a drop down box with the available dates for each type of accommodation and letting the customer choose from there once they have specified the type of accommodation they want.
Im not sure how to go about it though.
the first page i have would have the customer searching for the type of accommodation they need i.e. type, number of people and the results of that will be shown with the available dates for the results.
once i have got the bookings to work i also need to ensure that two people cant book the same accommodation for the same date at the same time.
To solve this i was going to have a flag field which will change to 1 once someone has chosen the booking and then be checked again when they try to confirm the booking.
Only if the flag is 0 they will be able to confirm it.
Im not even sure if that makes sense.
Any suggestions will be appreciated.
Thank You
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.