Solved

Seat Reservation System

Posted on 1997-11-23
2
893 Views
Last Modified: 2012-05-05
This is not a specific Perl programming question but I
want to know where I might get hold of a Perl script
written to accommodate a theatre seat reservation
system. I have a shopping cart Perl Prgramme that I have
modified but all the shopping cart systems I have seen do
not accommodate stock control. In the case of a theatre seat
(stock of 1) when it is booked the stock needs to decrement
to zero so that no one else can double book the same seat.

Any suggestions please.

Thanks - Brian Roberts
0
Comment
Question by:BlueFin
2 Comments
 
LVL 8

Accepted Solution

by:
Kobe_Lenjou earned 50 total points
ID: 1208858
Well the simple way would be that you created an array as big as the amount of chairs you have, and that you place a '1' in each seat wich is accupied.
The problem is that this would be a completely new part of your shopping car app (I wouln't use one of these for that)
0
 

Author Comment

by:BlueFin
ID: 1208859
Kobe
Thanks for the help - I'm surprised I haven't been able to find
a script for seat reservations somewhere - shopping carts are all
over the place and I would have thought a script for seat
reservations might have been more readily available.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now