<?php
include '_CONFIG.php';

try {
		$dbh = new PDO("mysql:host=$CC_dbhost;dbname=$CC_database_name", $CC_dbusername, $CC_dbpasswd);
		
		 # MS SQL Server and Sybase with PDO_DBLIB
			#$dbh = new PDO("mssql:host=$CC_dbhost;dbname=$CC_database_name, $CC_dbusername, $CC_dbpasswd");
			#$dbh = new PDO("sybase:host=$CC_dbhost;dbname=$CC_database_name, $CC_dbusername, $CC_dbpasswd");
			
		# SQLite Database  
			#$dbh = new PDO("sqlite:my/database/path/database.db");  		
		
    }
catch(PDOException $e)
    {
		echo $e->getMessage();
    }

<?php
include '_CONFIG.php';

try {
		$dbh = new PDO("mysql:host=$CC_dbhost;dbname=$CC_database_name", $CC_dbusername, $CC_dbpasswd);
		
		 // MS SQL Server and Sybase with PDO_DBLIB
			//$dbh = new PDO("mssql:host=$CC_dbhost;dbname=$CC_database_name, $CC_dbusername, $CC_dbpasswd");
			//$dbh = new PDO("sybase:host=$CC_dbhost;dbname=$CC_database_name, $CC_dbusername, $CC_dbpasswd");
			
		// SQLite Database  
			#$dbh = new PDO("sqlite:my/database/path/database.db");  		
		
    }
catch(PDOException $e)
    {
		echo $e->getMessage();
    }

Add code for PDO connects to ms sql and sqlite, fix comments.
Add code for PDO connects to ms sql and sqlite, fix comments.


git-svn-id: 245d8f85226f8eeeaacc1269b037bb4851d63c96@858 54a900ba-8191-11dd-a5c9-f1483cedc3eb
