I am looking for a way to link the number of rows in a form to items in a simple shopping cart/checkout script.
Here is the scenario. Users are booking places at a conference. There is a three tier pricing structure, and a section of the form for each price. When the user first navigates to the booking page he is asked to add the number of people he/she wishes to book into the conference at each pricing structure. Extra rows can be added to each section of the form using javascript. Once the names/details of each person being booked in has been completed the user clicks on a 'Submit' button which submits all of the information to a MySQL Database and redirects the user to a payment page.
I would like this payment page to consist of a simple shopping cart/checkout which is automatically filled with the number of people at each rate, with the total for each rate, and a grand total. The user could then just click on a button to complete the PayPal payment.
So the parts I am stuck on is how to automatically pass the information from the forms (i.e. the number of rows (people) at each rate) to the 'checkout' page, and which script I might use to generate the checkout page.
I'd be grateful for any help to get this working,
Thanks,
Nick