Hi I am back again.
Todays Problem:
//Lets say I have 5 Cities on menu
//I also have up to 7 of passengers in the drop down menu
// each city has its own price
//Total Price is determined by the no of passengers and City chosen by the user.
// eg. if no of passenger <= 4 then total is A
but if no of passengers > 4 then total is B
Also note that each and every city has its unique price.
Here's what i have done: if($city == "Witbank" && $passengers == 3) {$total = $witbank1 * $witbank2;}else {$total = $witbank1 * $passengers;}
//when I tell my script that i have chosen another city it does all the calculations but the total is wrong. How do I get this right
Thanks in advance