php - How to check if a value already exists to avoid duplicates? -


i've got table of urls , don't want duplicate urls. how check see if given url in table using php/mysql?

if don't want have duplicates can following:

if multiple users can insert data db, method suggested @jeremy ruten, can lead error: after performed check can insert similar data table.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -