adilmarwat Posted May 7, 2010 Share Posted May 7, 2010 I have table in mysql name "merit" contains 4 fields named "roll", "name", "father_name", "domicile". How i code that when ever i enter the duplicate value in the "roll" coloumn of the table which mentioning message like "You Enter Duplicate Values". please help.Adil Link to comment Share on other sites More sharing options...
Synook Posted May 7, 2010 Share Posted May 7, 2010 You can make the column a UNIQUE one. Otherwise, you need to check by attempting to select a row with that value. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.