i am new to php and mysql....for some reason my connection is giving me errors...need help....
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<?php
$linkID = mysql_connect("nightspotz.com","username","*******");
mysql_select_db("test", $linkID);
if ($linkID != FALSE)
{
print "the connection to server was made successfully.";
}
else
{
print "the connection to server failed.";
}
mysql_close($linkID);
?>