<?
$strServer="localhost";//server name (doesn't change)
$strUser="root"; //server username (same)
$strPassword="mysql"; //server password "" on WAMPServer
$strDatabase="year2_gaynor";//name of database

$link=mysqli_connect($strServer,$strUser,$strPassword,$strDatabase)or die("did not connect");

?>