nezbo Posted October 8, 2007 Share Posted October 8, 2007 Hi i think there will be a lot of postes about this, but i need to ask any way... What is the best way to stop duiplicate enterys on to a data base from a website, for instance if the user presses refresh, or presses back and then submits again. up to yet i have been using a check in the database for the same info being added, and using an if statment... Neil Quote Link to comment https://forums.phpfreaks.com/topic/72284-duplicate-enterys-help-to-stop/ Share on other sites More sharing options...
d.shankar Posted October 8, 2007 Share Posted October 8, 2007 Set the column property to "Primary Key" or "Unique". You can avoid duplicates. Quote Link to comment https://forums.phpfreaks.com/topic/72284-duplicate-enterys-help-to-stop/#findComment-364508 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.