$connection = mysql_connect($host,$user,$password)
or die ("Couldn’t connect to server."«»);
$db = mysql_select_db($database, $connection)
or die ("Couldn’t select database."«»);
[/code:1]
Pretty simple !
This is the error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘secureit7’@‘localhost’ (using password: YES) in /home/secdown/public_html/build-tables.php on line 17
Couldn’t connect to server.
Is it the ‘localhost’ that is wrong ?
The database name is set, the username and password I have changed a couple of times but it makes no difference - it still won’t connect.
I must have done something wrong - (its driving me mad !)
how can I check this out ?