mysql insert PHP statement keeps throwing error
<p>Does anybody know why the following <code>PHP</code> code keeps throwing errors: I have been unable to log any proper error other than the if statement $result not going through and giving me the <code>Echo 'Error'</code> statement. Is there something wrong with my insertion?</p>

<pre><code>    $new_tbl_name = 'Password_Reset';

   $sql = "INSERT INTO $new_tbl_name (Email, Key) VALUES ('$email','$resetHash')";

   $result = mysql_query($sql);


    if ($result) {
    }
    else {
       echo 'Error';
     }
</code></pre>
