Jump to content

Once form submitted disable permanently


jpergega
 Share

Recommended Posts

Hi

 

I have a form and I only want the user to use it only once. How can I disable this form permanently once been submitted? Thanks

 

<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<label>Unique Ref:<input name="reference" type="text" size="30"/>
<br><input type="submit" name="save" value="Save"/>
</form>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...