julia Posted August 18, 2005 Posted August 18, 2005 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.
julia Posted August 19, 2005 Author Posted August 19, 2005 Figured it out! Just needed some hidden fields to carry the values over. Julie
Recommended Posts
Archived
This topic is now archived and is closed to further replies.