How to return to the previous page
It might be very simple, but I have a problem when using it onclick="javascript:history.back(-1);"
with PHP. On the first page, I get the search result and I used a post action to get the search criteria. On this page, I can view information about the search results. When I go back to the search results page for IE, I get nothing but the page shows "webpage expired".
What can I do about this problem?
Thanks in advance!
a source to share
Try submitting the form to yourself (the same page) instead of another page, and then if there is an error, you don't need to "go back" because you are already there! Just print the form and fill in the values that were sent along with the message that something was not confirmed on the form.
a source to share