mySQL dont insert duplicate entries

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    mySQL dont insert duplicate entries

    How would you get mySQL to ignore you trying to insert a duplicate entry ?

    #2
    make the field UNIQUE so you cant insert a duplicate entry

    Comment


      #3
      Yup put a UNIQUE index on the field.

      Comment


        #4
        or even can use LIKE %similar ?

        Comment


          #5
          Thanks guys really appreciate all the help makes learning php and mysql so much easier

          Comment


            #6
            our pleasure boy :-)

            Comment

            Working...
            X