<?php $_config['database']['hostname'] = "imattioapp.com"; $_config['database']['username'] = "******"; $_config['database']['password'] = "******"; $_config['database']['database'] = "imattioa_taxi"; /*$_config['database']['hostname'] = "localhost"; $_config['database']['username'] = "******"; $_config['database']['password'] = "******"; $_config['database']['database'] = "imattio_taxi";*/ //connect the database server $link = new mysqldb(); $link->connect($_config['database']); $link->selectdb($_config['database']['database']); $link->query("SET NAMES 'utf8'");