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

function connect_database() {
	$fetchType = "array";
	$dbHost    = "localhost";
	$dbLogin   = "agrrhcxq_upi";
	$dbPwd     = "agrrhcxq_upi";
	$dbName    = "agrrhcxq_upi";
	$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', 'agrrhcxq_upi');
define('DB_PASSWORD', 'agrrhcxq_upi');
define('DB_NAME', 'agrrhcxq_upi');
?>