Wade Smart wrote:
>
>
> Ken wrote:
> > The problem I have had with clearing data after submit is that when the
> > back button is used to the form is refilled. Then another submit puts
> > duplicate data in DB
> >
> > Ken
>
> 20080717 1038 GMT-6
>
> Just do:
>
> unset($_POST);
>
Are you sure that will work, I'm thinking not on when someone hits the
"back" button.
On the page with the form, I believe you could do this on the top of the
script. I think it will work, but not sure.
header("Cache-Control: no-store, no-cache, must-revalidate");