Friday, February 03, 2006

Connection string

$dbuser = "test";
$dbpass = "test";
$dbname = "your group login goes here";
mysql_connect(localhost,$dbuser,$dbpass);
@mysql_select_db($dbname) or die ('Unable to select database.');
echo "Connected successfully.";
mysql_close;
?>

0 Comments:

Post a Comment

<< Home