View Single Post
Old Apr 25th, 2007, 12:32 PM   #9
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 4 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
I think Booooze idea would work just fine, for instance here's a sample instead of using a hidden variable using the $_GET superglobal:
if(isset($_GET['foo'])){
... display the table with its updated database values
... display a URL link to the same page but with the submission form
}else{
... display the table
... display the submission form whose action method should go to the same page but appended with '?foo=1'
}
This way the user has to consciously click to get to the submission form and submit data, and its still the same page. So even if they keep refreshing no new data is passed.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote