<?php
require_once("config.php");
// Include ezSQL core
require_once "lib/ezsql/shared/ez_sql_core.php";
// Include ezSQL database specific component
require_once "lib/ezsql/mysql/ez_sql_mysql.php";
// Initialise database object and establish a connection
// at the same time - db_user / db_password / db_name / db_host
$db = new ezSQL_mysql($config["DB_USERNAME"],$config["DB_PASSWORD"],$config["DB_NAME"],$config["DB_HOST"]);