function db_connect() {
// open connection to mysql server
$host = "sql2.njit.edu";
$user = "funkhous";
$pass = "2hr=Z.pR";
$conn_id = mysql_connect($host,$user,$pass);
if (!$conn_id) {
die('Could not connect: ' . mysql_error());
}
return ($conn_id);
// mysql_select_db("funkhous");
}
?>