How do I write an if statement that checks for duplicate database entries?
<p>How do I write an <code>if</code> statement in PHP that checks a database for <code>$varialbe</code> and have it only perform the action if <code>$varialbe</code> is not already in the database?</p>
