<?php $dbhost = 'localhost'; /*your host*/ $dbuser = 'root'; /*your username*/ $dbpass = ''; /*db password*/ $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'ani_aus_alumni'; /*db name*/ mysql_select_db($dbname); ?>