<?php
/**
* @project: ImgAnnotations
* @author: Bram Prieshof
*/

// DB Credentials
define('DB_HOST', 'localhost');
define('DB_USERNAME', 'DBUserName');
define('DB_PASSWORD', 'DBPassword');
define('DB_DBNAME', 'DBName');

// mysqli object
$mysqli = new mysqli(DB_HOST, DB_USERNAME, DB_PASSWORD, DB_DBNAME);

if($mysqli->connect_error) {
        exit('Error connecting to database');
  }
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
$mysqli->set_charset("utf8");