Prevent a form from submitting when a page is refreshed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
edawson003
Forum Contributor
Posts: 133
Joined: Thu Aug 20, 2009 6:34 am
Location: Los Angeles, CA - USA

Prevent a form from submitting when a page is refreshed

Post by edawson003 »

Is there a way to prevent a form from submitting data when a page is refreshed? I only want a data insert when the submot button is refreshed.
CodeGeek
Forum Newbie
Posts: 12
Joined: Wed Sep 30, 2009 3:36 pm
Location: England

Re: Prevent a form from submitting when a page is refreshed

Post by CodeGeek »

You could have a flood control system, using datetime.
Post Reply