Re: Page refresh and database updation
| From: | Chuck Stearns | Date: | Tue, 26 Sep 2006 14:30:00 +0000 |
| Subject: | Re: Page refresh and database updation | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42396@lists.php.net to get a copy of this message | ||
Tamkhane, Pravin wrote:
Hi All, I am a PHP newbie. I am using HTTP POST request to send some data to Apache and then using MySql to store that information. Once information is stored in MySql DB successfully, I display a result page. But the problem I am facing is that, if I refresh the result page displayed after database updation, the information is stored again in database which I don't want to. Please guide me on how I can avoid duplication of information in database on refreshing the page. Thanks in advance! Regards, Pravin You probly want to use a seperate script to build the results, or even a PEAR template mechanism./cs