Can you be a little more specific? What exactly is wrong with the form values after you use the Back button (of your browser)?
Normally, what you can do is the following:
-users submit some values
-these values are stored in the postgres database (insert)
-you display a "thank you" page (or something like that, letting the users know that their submission is well received and recorded in the database;
-if the users click "Back" at this time, they should go back to the form they filled in, with most of the values still intact (unless the page is erased from the browser's cache). You can't really control what the user's browser does with the page and I don't think it is very easy (if at all possible) to "disable" the Back button (this depends on the browser, you must have priviledge to change the settings, etc).
What you could do, but only in JavaScript (=executed by the browser, while php is executed by the web server), is play around with the Browser's history. Changing the 2nd last history entry will make the Back button go to another site (I think - haven't tested it), but you could also say that the browser must go to some site... Hence, in JavaScript, you can make the browser go anywhere you want, but I don't think you can prevent the user from clicking the Back button.
If you need more info, just ask.