<?php 
function connect() {
    return new PDO('mysql:host=localhost;dbname=infossel_dailyfinance', 'ifinclou_info', 'infossel123.', array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
} ?>