i changed $HTTP_POST_VARS to $_POST but stil it doesnt work,i get the same error.
// build the form action
$editFormAction = $HTTP_SERVER_VARS['PHP_SELF'] . (isset($HTTP_SERVER_VARS['QUERY_STRING']) ? "?" . $HTTP_SERVER_VARS['QUERY_STRING'] : "");
if ((isset($POST["MM_insert"])) && ($POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO customer (name, birthdate, email) VALUES (%s, %s, %s)",
GetSQLValueString($POST['name'], "text"),
GetSQLValueString($POST['birthdate'], "text"),
GetSQLValueString($_POST['email'], "text"));
printf("Your ID is %d\n", mysql_insert_id());
$Result1 = $connICT->Execute($insertSQL) or die($connICT->ErrorMsg());
$insertGoTo = "confirmation.php";
if (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $HTTP_SERVER_VARS['QUERY_STRING'];
}
KT_redir($insertGoTo);
}
what about sessions?ideas,anyone?