<?php
$GLOBALS['hostname'] = 'localhost';
$GLOBALS['username'] = 'root';
$GLOBALS['password'] = '';
$GLOBALS['db'] = 'coolmanl_pt';
	
$GLOBALS['dbinv'] = mysqli_connect($GLOBALS['hostname'],$GLOBALS['username'],$GLOBALS['password'],$GLOBALS['db']);

//$GLOBALS['dbac'] = 'coolmanl_pt';
//if ($_SESSION['COMCODE']=="A"){
//	$GLOBALS['dbac'] = 'coolmanl_pt_acca16';
//} else if ($_SESSION['COMCODE']=="B"){
//	$GLOBALS['dbac'] = 'coolmanl_pt_accb16';
//} else if ($_SESSION['COMCODE']=="C"){
//	$GLOBALS['dbac'] = 'coolmanl_pt_accc16';
//} else if ($_SESSION['COMCODE']=="R"){
//	$GLOBALS['dbac'] = 'coolmanl_pt_accd16';
//}
//
//
//$GLOBALS['dbacc'] = mysqli_connect($GLOBALS['hostname'],$GLOBALS['username'],$GLOBALS['password'],$GLOBALS['dbac']);
?>
