<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
/*$hostname_ConnexionBoutiquedream = "localhost";
$database_ConnexionBoutiquedream = "jeannete_comohe";
$username_ConnexionBoutiquedream = "jeannete_telosci";
$password_ConnexionBoutiquedream = "@#telos2014";
$ConnexionBoutiquedream = mysql_pconnect($hostname_ConnexionBoutiquedream, $username_ConnexionBoutiquedream, $password_ConnexionBoutiquedream) or trigger_error(mysql_error(),E_USER_ERROR);*/ 
$hostname_ConnexionBoutiquedream = "localhost";
$database_ConnexionBoutiquedream = "comoe";
$username_ConnexionBoutiquedream = "root";
$password_ConnexionBoutiquedream = "";
$connection = mysqli_connect($hostname_ConnexionBoutiquedream, $username_ConnexionBoutiquedream, $password_ConnexionBoutiquedream,$database_ConnexionBoutiquedream) or trigger_error(mysql_error(),E_USER_ERROR);

//---------force la connexion en UTF-8
mysql_query("SET NAMES 'utf8'"); 
?>