<?php
$connect = mysql_connect($host,$username,$password,true) or die("Error connecting to Database! " . mysql_error());
mysql_select_db($database , $connect) or die("Cannot select database! " . mysql_error());
?>