<?php
$conn = mysql_connect("localhost","rentwall_rentwall",")X7zlBx)XgZ5")
or die ("Could not connect MySQL");
mysql_select_db('rentwall_rentwall',$conn) or die ("Could not open database");
function post($postname)
{
$posted = mysql_real_escape_string($postname);
return $posted;
}
?>
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'rentwall_rentwall'@'localhost' (using password: YES) in C:\wamp\www\site2\db.php on line 3
Could not connect MySQL
please someone help me with this i am not connecting with database
thanks in advance