DiigIT | IT Community
No Profile Image
Welcome Guest
New User? Register | Login

[PHP-List] Clear post data after form submit

By: | 18 Feb 2009 4:25 pm

Dear All,

I have a problem in form submit. I want to clear the the post values after insert into the table(DB). There is any possible to do that. I use unset and reset method to clear the post value. But there is no use.So please help me to short out the problem

Thanks in Advance.
regards,

 

Comments

values after insert into the table(DB). There is any possible to do that. I use unset and reset method to clear the post value. But there is no use.

unset($_POST);

By: | 18 Feb 2009

page which sends in the data? If so, you will probably want to look at the HTTP cache settings.

I can tell you that sometimes I find it annoying when I try to go back to a form page and find the entire form cleared out when I want to make a small change and resubmit. Your use might have different requirements, of course.

By: | 18 Feb 2009
By: | 30 Jun 2011
By: | 30 Jun 2011
By: | 30 Jun 2011

ghfghgfh

By: | 24 Jan 2012

Leave a comment

Enter the text in the image
img
Can't read?
Type the characters you see in the picture below.


Close Move