PHP Check existance of record in the database before insertion
<p>I have code that is supposed to check if records exists on the database before insertion and if records exists, does not insert but my code does not prevent that but instead it inserts.                   </p>
