Have a working system where I am posting news articles. I sometimes add the same one twice and want to avoid this. So how can I alter my insert statement to first check for a match on the field named 'title' to see if it is equal to the title I have in the record I am trying to submit? 

Here is php code I use, as it was done for me since I am a PHP novice but I do not know how to check for the title=title and then not add it if it finds it or to add it if it doesnt find a match:

```
$result = mysql_query("
insert into news (
     catalogid,
     title,
     intro,
     content,
     viewnum,
     adddate,
     rating,
     ratenum,
     source,
     sourceurl,
     isdisplay,
     isfeature,
     subip,
     vsent,
     timesubmitted) 
values             
     ('1',
     '$title',
     '$intro',
     '$content',
     '0',
     '$subdate',
     '$source',
     '$icheck',
     'N/A',
     '$sourceurl',
     '$isapp',
     '0',
     '127.0.0.1',
     '0',
     '$tsdate')"
); 

```

Thank you!