Hello guys,
I have a slight problem with a booking form i made. Booking form is for minicab booking so price calculation is involved. The booking form was working fine with php4 enabled hosting but i have problem with php5 hosting. Script doesnt pass the varible after if conditions are mathced.
What happens is, when user selects a pick up address and dropp of address, price should be set in $quotation. The code is below;
if ($postcode == "AL1 St. Albans" && $airport == "Heathrow T1" ) { $quotation = 42;}
where you see 42 is how much the journey will cost but it doesnt reflect on the final page. I have also tried the following code which works fine;
if ($postcode == "AL1 St. Albans" && $airport == "Heathrow T1" ) { echo "42";}
Can anyone help me solve this error.
Thanks