Ive got to do a little PHP coding for a module at uni, and just cant get my head round it.
What ive got to do is create a customer order form for a super hero website.
You should write a PHP script which processes the information sent from the booking form. The script should be aware of the prices of the heroes and extras and should therefore calculate the total cost of the booking and add VAT at 17.5%. The HTML returned by the PHP script to the browser should display in the form of an invoice, confirming the name, address and telephone number of the customer and provide an itemised list of items with prices, a subtotal of ex-vat price, the amount of VAT due and a grand total. This itemised list should take the form of a HTML table.
Would anyone be able to point me in a direction or show me a little code that could help with the completion of this.
Thanks all.
Kyle
What ive got to do is create a customer order form for a super hero website.
You should write a PHP script which processes the information sent from the booking form. The script should be aware of the prices of the heroes and extras and should therefore calculate the total cost of the booking and add VAT at 17.5%. The HTML returned by the PHP script to the browser should display in the form of an invoice, confirming the name, address and telephone number of the customer and provide an itemised list of items with prices, a subtotal of ex-vat price, the amount of VAT due and a grand total. This itemised list should take the form of a HTML table.
Would anyone be able to point me in a direction or show me a little code that could help with the completion of this.
Thanks all.
Kyle