can i check is there anything wrong with my if else, if seems like it will only go banktransfer.php instead.
if ($_POST[Payment] = "Bank Transfer") {
$btpage = "banktransfer.php";
echo '<script language="javascript" type="text/javascript">window.location.href="'.$btpage.'";</script>';
}
else if ($_POST[Payment] = "Credit Card") {
$ccpage = "creditcard.php";
echo '<script language="javascript" type="text/javascript">window.location.href="'.$ccpage.'";</script>';
}
else {
$pppage = "paypal.php";
echo '<script language="javascript" type="text/javascript">window.location.href="'.$pppage.'";</script>';
}