Jump to content


php booking and concurrent user help

  • Please log in to reply
No replies to this topic

#1 puja

  • Members
  • PipPipPip
  • Advanced Member
  • 39 posts

Posted 21 April 2006 - 06:16 PM

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

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users