This commit is contained in:
2026-03-18 15:37:13 +01:00
parent ae75a6ee02
commit 4618269498
188 changed files with 4979 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
// db.php
$host = 'localhost';
$username = 'root';
$password = '';
$database = 'poker_paf';
try {
$db = new PDO("mysql:host=$host;dbname=$database;charset=utf8", $username, $password);
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
die("Erreur de connexion : " . $e->getMessage());
}
?>