Hello, I’m nearly finished with this…but when I added the rest of my plans, I’m getting the following message:
[QUOTE]
Parse error: parse error, unexpected ‘}’ in /step4.php on line 37
here is the code
[code]
if($plan == “Starter Plan”) {
header(“Location: ../buyp/starter_plan_payment.htm”);
exit(); //$price = “$7.95”;
} else if ($plan == “Bronze Plan”)
header(“Location: ../buyp/bronze_plan.htm”);
exit(); //$price = “$19.95”;
} else if ($plan == “Silver Plan”) //line 37
header(“Location: ../buyp/silver_plan.htm”);
exit(); //$price = “$19.95”;
} else if ($plan == “Gold Plan”)
header(“Location: ../buyp/gold_plan.htm”);
exit(); //$price = “$19.95”;
} else if ($plan == “Platinum Plan”)
header(“Location: ../buyp/Plat_plan.htm”);
exit(); //$price = “$19.95”;
} else if ($plan == “Deluxe Platinum Plan”)
header(“Location: ../buyp/delux_plat_plan.htm”);
exit(); //$price = “$19.95”;
} else if ($plan == “Mega Platinum Plan”)
header(“Location: ../buyp/mega_plat_plan.htm”);
exit(); //$price = “$19.95”;
} else if ($plan == “Deluxe Mega Platinum Plan”)
header(“Location: ../buyp/delux_mega_plat_plan.htm”);
exit(); //$price = “$19.95”;
}
i suppose i have the syntax all wrong again. Any ideas? Thanks!