| 
	
 | 
 Posted by Martin A. Weinberger on 06/13/76 11:25 
Hi all, 
 
I'm using a hidden button as shown in the following line to determine upon  
entry (or re-entry) to the PHP file, whether or not to process the form  
data. 
 
        <input type="hidden" name="validateme" value="doit"> 
 
The form contains anchor tags to link to other pages. From this point of  
view the form works perfectly. The problem is that, when the user goes back  
to this page later on, the "validateme" posted variable does not expire, so  
the form tries to reprocess the form, even though there is no form to show.  
My question is how can I reset the validateme to nothing (""), so that the  
user doesn't wind up reprocessing the page upon reentry at a later time. 
 
I'm accessing the validateme using the "$CmdDoIt = $_POST["validateme"];"  
line. 
 
Thanks in advance, 
 
--  
Martin A. Weinberger 
ButterflyVista 
http://www.butterflyvista.com/
 
[Back to original message] 
 |