First components for project - User Interface

This commit is contained in:
ccunatbrule
2023-02-02 16:28:06 +01:00
committed by GitHub
parent 9a513b128e
commit 9c9b508096
45 changed files with 1148 additions and 0 deletions

11
modele/connexion_sql.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
// Connexion <20> la base de donn<6E>es
try
{
$bdd = new PDO('mysql:host=localhost:3307;dbname=CARIA', 'USER', 'MDP',array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
}
catch(Exception $e)
{
die('Erreur : '.$e->getMessage());
}