title: Insert Ignore - is there way to know if statement was ignored? MYSQL
body: <pre><code>$sql_insert = "INSERT IGNORE .....";
  
  
  if(mysql_query($sql_insert,$link) or die("Insertion Failed:" . mysql_error()))
  {
        //code to execute
  }
  </code></pre>
  
  <p>I want to execute code if the row is inserted.  Is there some time of value that can be returned that would tell me if the statement was inserted or ignored? </p>
  
  <p><strong>Edit:  Right now, "code to execute" always executes - even on ignore instances</strong></p>