Skip to content
Snippets Groups Projects
Commit d4ffb441 authored by David Cazier's avatar David Cazier
Browse files

Merge branch 'identifiant' into 'master'

# Conflicts:
#   include/connexion.php
parents 402821ac ec478a9c
Branches
2 merge requests!3Master,!2Master
<?php
include('../config.php');
function connexion()
{
$pdo = new PDO('mysql:host=base.iha.unistra.fr;dbname=LOGIN_fresques;charset=utf8', LOGIN, PASSWORD);
$pdo = new PDO('mysql:host=base.iha.unistra.fr;dbname='.LOGIN.'_fresques;charset=utf8', LOGIN, PASSWORD);
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
if ($pdo) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment