ballouta Posted January 29, 2009 Share Posted January 29, 2009 Hello, i have a registration form, the code checks in the begining of teh registration process if the 'email address' is already in use or not. some visitors are refreshing the page in the last step and i can see duplicated rows in my database! How to prevent this? Thank you Link to comment https://forums.phpfreaks.com/topic/142945-duplication-problem/ Share on other sites More sharing options...
printf Posted January 29, 2009 Share Posted January 29, 2009 make the email field in your database unique so the database returns an error when they try insert it again! Link to comment https://forums.phpfreaks.com/topic/142945-duplication-problem/#findComment-749485 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.