title: "Access denied" error talking to MySQL
body: <p>I am getting this warning on line 25:</p>
  <blockquote>
  <p>Warning :<br />
  Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' &gt;(using password: NO) in C:\xampp\htdocs\shadaab\register.php on line 25</p>
  <p>Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\shadaab\register.php on line 25
  Access denied for user 'ODBC'@'localhost' (using password: NO)&quot;</p>
  </blockquote>
  <p>I have following SQL query on line 25:</p>
  <pre><code>$result=mysql_query(&quot;SELECT email FROM user WHERE email='$email'&quot;)or die(mysql_error());
  </code></pre>