title: should i remove mysql_error function from project?
body: <p>is it <strong>unsecure</strong> using.</p>
  
  <pre><code>mysql_error(); 
  </code></pre>
  
  <p>function in a site when programming is finished?</p>
  
  <p>I have used this code all over my project</p>
  
  <pre><code>mysql_query($q) or die(mysql_error());
  </code></pre>
  
  <p>users can see database errors. </p>
  
  <p>should i remove mysql_error function from my project?</p>
  
  <p>or there is a way to <strong>hide happening errors</strong>?</p>