Looking back at your original post, your goal was to make sure that he could fill out one form on the page without worrying about the contents of the other form(s) getting reprocessed.
The sample code I gave you will make sure that when he submits Form #2, it's not going to matter what the contents of the fields are in form #1. They will be ignored because he's submitting form #2 (and formid=2 when he clicks that submit button).
If you wanted (and I'm not saying you have to do this), you could do something like this: When he submits form X, you could process that form and then say $_SESSION['formX']='processed';
That way, if he ever tries to submit form X again (no matter whether he hit the back button, followed a generated link, or even left your site and came back), your code could say, if ($formid==X and $_SESSION['formX']='processed') { print "you can't resubmit that form. That form has already been processed"; }
That's an example of using a session variable to keep a record of what's been done so far so that you can (if you want to) make sure that only certain things are allowed from now on.
You don't have to use session variables. We're not forcing anything on you. Do it any way you want. We're just answering your question: If you want to make sure that a form doesn't get reprocessed, you can easily use sessions to keep track of what's already been submitted.