Code:
<?php
$location = "my.dbhost.net";
$username = "username";
$password = "password";
$database = "databasename";
$conn = mysql_connect("$location","$username","$password");
if (!$conn) die ("Could not connect MySQL");
mysql_select_db($database,$conn) or die ("Could not open database");
?>
just enter the correct information for the top four variables. (location, username, password, database). and upload again.
Bookmarks