<?php
$server = "localhost"; // server to connect to.
$database = "yourDB"; // the name of the database.
$db_user = "root"; // mysql username to access the database with.
$db_pass = "yourPassword"; // mysql password to access the database with.
$link = mysql_connect($server,$db_user,$db_pass);
mysql_select_db($database,$link); // the table that this script will set up and use.
?>
|