This question is an exact duplicate of:
i want to save previous $_GET and get it in the next refresh. then use it to see if it has been changed or not. i want to do it because is i change may form and go to next page, in the next page it will go to the next page of new form! is it possible?