Oct 9th, 2009, 11:12 PM
You're missing an else statement in your code...
Change this portion of your code:
To:
And see if that does the trick...
Change this portion of your code:
PHP Code:
$params = array(
"submit_button" => "submit",
"next_page" => "thanks.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
}
}
?>
To:
PHP Code:
$params = array(
"submit_button" => "submit",
"next_page" => "thanks.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
} else {
$fields = array_merge($fields, $_POST);
}
}
And see if that does the trick...