title: MySQL Query to INSERT IF doesn't exist
body: <p>I need a little bit of help with a quick script I'm working on.  I have 3 columns {name,page1,page2}.  I want to insert a new row if and only if there is no duplicate row there.  I want it to check only id and page1 for duplicates.  </p>
  
  <p><strong>For Example</strong></p>
  
  <p>Row 1:    1, 3, 5</p>
  
  <p>Row 2:    1, 2, 5</p>
  
  <p>Row 3:    2, 2, 5</p>
  
  <p>BUT NOT</p>
  
  <p>Row 4:    1, 3, 10</p>
  
  <p>Sorry if this is a little confusing.  </p>
  
  <p>Thanks in advance!</p>
  
  <p>EDIT:  I do want to also update page2 to +1 if the same ID already exists.  -Thanks</p>