|
Posted by axlq on 11/21/07 03:30
In article <7499a509-ee83-4a3d-94a8-492f06c20818@41g2000hsh.googlegroups.com>,
mtuller <mituller@gmail.com> wrote:
>I have a page that submits data to a database, and I want to make it
>so that if the page is refreshed, it doesn't submit the information
I asked this question here a couple days ago, under the subject
"Clearing the form submit cache"
http://groups.google.com/group/comp.lang.php/browse_frm/thread/ed456efb9eeaf936/a5fa3a600f613faa?tvc=1#a5fa3a600f613faa
Among some unhelpful replies, the answer is in that thread. Basically
you need to perform header("Location: ".$page_url); where $page_url is
the page that will show the result of the form submission (i.e. the form
is submitted, the data processed into a database, and the page at
$page_url reads and displays the relevant query result from the
database).
-A
[Back to original message]
|