ну раз интересно то смотрите
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form")) {
$insertSQL = sprintf("INSERT INTO inf_klient (klient_id, klient_name, klient_address, klient_other, klient_date, klient_ip) VALUES (%s, %s, %s, %s, %s, %s)",
GetSQLValueString($_POST['klient_id'], "int"),
GetSQLValueString($rok_name, "text"),
GetSQLValueString($rok_adres, "text"),
GetSQLValueString($_POST['klient_other'], "text"),
GetSQLValueString($_POST['date'], "date"),
GetSQLValueString($_POST['ip'], "text"));
mysql_select_db($database_localhost, $localhost);
$Result1 = mysql_query($insertSQL, $localhost) or die(mysql_error());
$p1=$_POST['PurchaseDesc']; $p2=$_POST['PurchaseAmt']; $p3=$_POST['CountryCode'];
$p4=$_POST['CurrencyCode']; $p5=$_POST['MerchantName']; $p6=$_POST['MerchantURL'];
$p7=$_POST['MerchantCity']; $p8=$_POST['MerchantID']; $p9=$_POST['xDDDSProxy.Language'];
$insertGoTo = "https://*******************/3dsproxy_init.jsp?PurchaseDesc=".$p1."&PurchaseAmt=".$p2."&CountryCode=".$p3."&CurrencyCode=".$p4."&MerchantName=".$p5."&MerchantURL=".$p6."&MerchantCity=".$p7."&MerchantID=".$p8."&xDDDSProxy.Language=".$p9;
header(sprintf("Location: %s", $insertGoTo));
}