J
|
Jane 1/27/2009 |
Hi,
|
B
|
BillyBobRob 1/27/2009 |
I followed the procedure in your link by adding in the visual editor of the add page, right after the save button line the following code {BEGIN save_button2}<SPAN class=buttonborder><INPUT class=button id=submit2 type=submit value="Save and back to whorl" name=submit2></SPAN>{END save_button2}
if ($_REQUEST["submit2"]=="Save and back to whorl") { header("Location: Whorl_list.php"); exit(); }
|
J
|
Jane 1/28/2009 |
Hi, |
B
|
BillyBobRob 1/28/2009 |
It works... almost. When I go back to the other table by pressing the new button, the master table information in the upper left corner is not displayed. It is there however when the page is displayed by going back using the Back to master table link (after a regular save). How would one get the master information and link displayed again ? |
J
|
Jane 1/29/2009 |
Rob, if ($_REQUEST["submit2"]=="Save and back to whorl") { header("Location: Whorl_list.php?a=return"); exit(); } |
B
|
BillyBobRob 1/29/2009 |
Jane, |
I
|
indigo author 1/30/2009 |
that works great... |
J
|
Jane 1/30/2009 |
Hi, Save and back to whorl button redirect to the list page. |