Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Continue Button


julia

Recommended Posts

Posted

I have a page "measurement_edit" which is just another section of the Account.

It is set up exactly like account_edit, but the variables have been changed.

 

However when I hit on the "continue" button, it reloads the measurement_edit page with the new values instead of going back to the account.php page.

I'm not that familiar with php, but I think the part of the page that determines where the page should be directed when you hit the continue button is:

// reset the session variables

$customer_first_name = $firstname;

 

$messageStack->add_session('account', SUCCESS_ACCOUNT_UPDATED, 'success');

 

tep_redirect(tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));

}

The code around the continue button is as follows:

 

<td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>

 

Am completely wrong here? If not, what other reasons could the page have for reloading itself.

Thank you.... I'm getting a little frustrated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...