jukie Posted August 12, 2013 Share Posted August 12, 2013 Hello Good Evening/Morning/Afternoon where ever you are. My problem of the day I have created a register form, the form is working unless I use a data that already stored in the database for a different member, this is the password textbox of the form. Now the database for password is not unique. The problem could be the md5 hash I used for hashing the password. Maybe myphp admin will not allow duplicate data for md5. Any thoughts. Link to comment https://forums.phpfreaks.com/topic/281081-my-dabase-wont-accept-duplicate-data/ Share on other sites More sharing options...
kicken Posted August 12, 2013 Share Posted August 12, 2013 If your table is rejecting duplicates, it is because you defined that column as UNIQUE when you created it. All you need to do is remove that unique constraint and then duplicates will be allowed. Link to comment https://forums.phpfreaks.com/topic/281081-my-dabase-wont-accept-duplicate-data/#findComment-1444550 Share on other sites More sharing options...
jukie Posted August 12, 2013 Author Share Posted August 12, 2013 Thanks, its does look like it got a unique constraint, struggling to drop it. Google my friend. Link to comment https://forums.phpfreaks.com/topic/281081-my-dabase-wont-accept-duplicate-data/#findComment-1444563 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.