This topic is locked

A back link or button on any page

6/10/2008 4:25:56 AM
PHPRunner General questions
M
mmponline author

I need a button / link on a page to take me to the previous page the user visited. This way it would be easy to return to the previous (history) page - Similar to the back button in internet explorer.
If not, this is what I need to achieve:
I have a link on my view page to take me to a master detail table's list page (got this link sorted with Jane's help - Thanks Jane!). Now, when on this page, I need to get back to the view page (there is a "Back to Master table" link but that takes one to the list page, not the view page). Obviously the simplets way would be to have a back button, but how?
I've tried to change the "Back to Master tables" link to be view instead of list:

<TD width=51>&nbsp;</TD>{if $mastertable!=""}

<TD align=middle width=107><A href="{$mastertable_short}_view.php?a=return">Back to Master table</A>


but this returns a blank page (obviously looking for some IDs to compare)
Please help!

M
mmponline author 6/10/2008

I'm very sorry, I see I placed thus question myself about 10 months ago! (Duh!!!!)
See http://www.asprunner.com/forums/index.php?...ic=5925&hl=
Maybe someone can help me to make this hyperlink a picture instead of text. The picture name would be back.gif stored in the images (default) picture folder.