<?php
error_reporting(0);
date_default_timezone_set('Asia/Kolkata');

function connect_database() {
	$fetchType = "array";
	$dbHost    = "localhost";
	$dbLogin   = "nexprism_ho";
	$dbPwd     = "nexprism_ho";
	$dbName    = "nexprism_ho";
	$con       = mysqli_connect($dbHost, $dbLogin, $dbPwd, $dbName);
	if (!$con) {
		die("Database Connection failes" . mysqli_connect_errno());
	}
	return ($con);
}

// Database configuration
define('DB_HOST', 'localhost');
define('DB_USERNAME', 'nexprism_ho');
define('DB_PASSWORD', 'nexprism_ho');
define('DB_NAME', 'nexprism_ho');
?>