Warning: mysql_real_escape_string()?
<p>my code-</p>

<pre><code>$username = mysql_real_escape_string($_POST['username']);
$password = mysql_real_escape_string($_POST['password']);
</code></pre>

<p>but it throws warning-<br>
<strong>Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\pics\confirm_login_credentials.php on line 3</strong></p>

<p>and<br>
<strong>Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\xampp\htdocs\pics\confirm_login_credentials.php on line 3</strong></p>
