Dec 4th, 2010, 4:44 PM
(This post was last modified: Dec 4th, 2010, 4:53 PM by azparrothead.)
OK... that works and I can get to the next page...
then same problem.. i can fix that...but then the page after that one (page 4) I can go to a different page dependent on if they are paying by check or credit card... how can I handle that??
if ($fields['Payment_Type'] == 'Check')
{
$params = array(
"submit_button" => "continue",
"next_page" => "step4check.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"no_sessions_url" => "step1.php"
);
ft_api_process_form($params);
}
else
{
$params = array(
"submit_button" => "continue",
"next_page" => "step4credit.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"no_sessions_url" => "step1.php"
);
.....
....
<form method="post" action="<?=$_SERVER['PHP_SELF']?>">
Thanks for your help!
set a variable dependent on the payment selected and use that in the action???
then same problem.. i can fix that...but then the page after that one (page 4) I can go to a different page dependent on if they are paying by check or credit card... how can I handle that??
if ($fields['Payment_Type'] == 'Check')
{
$params = array(
"submit_button" => "continue",
"next_page" => "step4check.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"no_sessions_url" => "step1.php"
);
ft_api_process_form($params);
}
else
{
$params = array(
"submit_button" => "continue",
"next_page" => "step4credit.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"no_sessions_url" => "step1.php"
);
.....
....
<form method="post" action="<?=$_SERVER['PHP_SELF']?>">
Thanks for your help!
set a variable dependent on the payment selected and use that in the action???