1

Need Help in Access Error

view story
linux-howto

http://www.unix.com – Hello Again, Please help with this link problem. Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'myuser'@'localhost' (using password: XYZ@123) <?php function connectTo() { $host = "localhost"; $db_name = "myDB"; $username = "myUser"; $password = "passs"; $link = mysql_connect("$host", "$username", "$password", "$db_name"); return $link; } ?> in another file is this line $link = connectTo(); Thanks in advance (HowTos)