public static function connect() { try { self::$connection = new PDO("pgsql:host=" . DATABASE_DPS_HOST . ";port=" . DATABASE_DPS_PORT . ";dbname=" . DATABASE_DPS_NAME . ";user="******"Database error: " . $e->getMessage(), E_USER_ERROR); } }
public static function connect() { try { self::$connection = new PDO("pgsql:host=" . DATABASE_DPS_HOST . ";port=" . DATABASE_DPS_PORT . ";dbname=" . DATABASE_DPS_NAME . ";user="******"Database error: " . $e->getMessage(), E_USER_ERROR); } }