This is a pretty nice script to go back 1 history:
<INPUT TYPE="button" VALUE="Back" onClick="history.go(-1);>
But the problem is, if I executed any query or whatever on let's say addnewcustomer.php and than I link to companyview.php and using this code I go back to addnewcustomer.php, it executes the same query all over (or browser gives me a warning and have to hit F5). How to avoid this?
Thanks in advance.
The best way to avoid these situations would be to:
You should then be good