<?php 



/*
$hostname = 'localhost';
$username = 'root';
$password = '';*/
$hostname = 'localhost';
$username = 'wrexhamuk_ab';
$password = '{3_-$BG4)e,w';

// $dbacc = mysql_connect($hostname, $username, $password);
$dbinv = mysql_connect($hostname, $username, $password, true);

//$ben = mysql_connect($hostname, $username, $password);
//$ben_tyre = mysql_connect($hostname, $username, $password, true);

// if ($_SESSION['COMCODE']=="A"){
// 	mysql_select_db('coolmanl_pt_acca16', $dbacc);
// } else if ($_SESSION['COMCODE']=="B"){
// 	mysql_select_db('coolmanl_pt_accb16', $dbacc);
// } else if ($_SESSION['COMCODE']=="C"){
// 	mysql_select_db('coolmanl_pt_accc16', $dbacc);
// } else if ($_SESSION['COMCODE']=="R"){
// 	mysql_select_db('coolmanl_pt_accd16', $dbacc);
// }

/*mysql_select_db('pt_acc', $dbacc);
mysql_select_db('pt', $dbinv);*/

//mysql_select_db('pt_acc', $dbacc);
mysql_select_db('wrexhamuk_ab', $dbinv);

//mysql_select_db('ben', $ben);
//mysql_select_db('ben_tyre', $ben_tyre);
//mysql_select_db('ben_tyre_tmp', $ben_tyre);
/*
mysql_select_db('acc', $dbacc);
mysql_select_db('ben_tyre_25', $dbinv);*/

//mysql_select_db('ben_tyre', $dbinv);


/*
$hostname = 'localhost';
$username = 'root';
$password = '';

$dbacc = mysql_connect($hostname, $username, $password);
$dbinv = mysql_connect($hostname, $username, $password, true);

mysql_select_db('acc', $dbacc);
mysql_select_db('ben', $dbinv);	*/


/*
$hostname = 'localhost';
$username = 'lotterix_admin';
$password = 'shan@123';

$dbacc = mysql_connect($hostname, $username, $password);
$dbinv = mysql_connect($hostname, $username, $password, true);

//mysql_select_db('lotterix_accben', $dbacc);
//mysql_select_db('lotterix_ben', $dbinv);

mysql_select_db('lotterix_acctht', $dbacc);
mysql_select_db('lotterix_tht', $dbinv);*/


?>
