PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
How to create a Back button that will be placed in a form and return to the referer page, without resubnitting values etc...
I tried javascript:history.back(), but it soesn't work.
yes, thank you i tried this, but in Mozilla, the (-1) does not redirect to previous page.
If you test this in Firefox, for example, you'll need to do a (-2) to return to correct page.
snicolas wrote:yes, thank you i tried this, but in Mozilla, the (-1) does not redirect to previous page.
If you test this in Firefox, for example, you'll need to do a (-2) to return to correct page.
I have tested it in FF 1.0 and it works for me. Here is complete html doc: