
<?php
// DB credentials.
define('DB_HOST', 'localhost');
define('DB_USER', 'crmcentrioglobal_ddd');
define('DB_PASS', 'crmcentrioglobal_ddd');
define('DB_NAME', 'crmcentrioglobal_ddd');

try {
    $dbh = new PDO(
        "mysql:host=" . DB_HOST . ";dbname=" . DB_NAME,
        DB_USER,
        DB_PASS,
        array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'")
    );
} catch (PDOException $e) {
    exit("Error: " . $e->getMessage());
}
?>
