Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (21 loc) · 605 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 605 Bytes

Install Instructions

Composer

When you first pull this repo make sure you do:

composer install

Conn.php

try{
	$conn_dbserver = '';
	$conn_dbusername = '';
	$conn_dbpassword = '';
	$conn_database = '';
	
	#$PDO = new PDO("sqlsrv:Server=$conn_dbserver;Database=$conn_database", $conn_dbusername, $conn_dbpassword);  #MS SQL Server
	$PDO = new PDO("mysql:host=$conn_dbserver;dbname=$conn_database", $conn_dbusername, $conn_dbpassword);		  #mySQL Server
}catch(PDOException $e){
	print 'Error!: Failed to connect due to ' . $e->getMessage();
    die();	
}

TEST 10.9 Colours