Thanks djr33, I note your comment on security.
My hosting provider suggests a reason why I may not be getting a connection as follows -
It looks like that your db details in dp.php file are incorrect, please find the error message below:
PHP Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'db11485--_fly1!'@'182.--.--.122' (using password: YES) in C:\CustomerData\webspaces\webspace_001---80\wwwroot\test.we---ry.net\db.php on line 14.

Line 14 is as follows:
Code:
$con=mysql_connect("$host","$user","$pass")or die("Connect Error: ".mysql_error()); $db="$database"; mysql_select_db($db, $con);
Why might I be suffering from Access denied ?
?
Bookmarks