Jump to content

php duplicate help?


adilmarwat

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...