From 81a5cc6050aadd68d8c0e8e82cf5113956a58f61 Mon Sep 17 00:00:00 2001 From: algolfier Date: Thu, 18 Feb 2021 11:02:40 +0100 Subject: [PATCH] .. --- SwichGIT/HighscoreBD/connexionBD.php | 2 +- SwichGIT/HighscoreBD/index.php | 35 +++++++++++---------------- SwichGIT/HighscoreBD/insererscore.php | 12 +++++++++ 3 files changed, 27 insertions(+), 22 deletions(-) create mode 100644 SwichGIT/HighscoreBD/insererscore.php diff --git a/SwichGIT/HighscoreBD/connexionBD.php b/SwichGIT/HighscoreBD/connexionBD.php index fa25b9e..77615a0 100644 --- a/SwichGIT/HighscoreBD/connexionBD.php +++ b/SwichGIT/HighscoreBD/connexionBD.php @@ -3,7 +3,7 @@ class MyDB extends SQLite3 { function __construct() { - $this->open('highscore.db'); + $this->open('HighscoreBD.db'); //$this->exec('CREATE TABLE partieScore(IdPartie STRING PRIMARY KEY,scorePremierJ STRING,scoreDeuxiemeJ STRING, pseudoPremierJ STRING,pseudoDeuxiemeJ STRING)'); //$this->exec('CREATE TABLE partieCartes(IdPartie STRING ,IdCarte STRING,colUn STRING, colDeux STRING, colTrois STRING)'); diff --git a/SwichGIT/HighscoreBD/index.php b/SwichGIT/HighscoreBD/index.php index 645ff67..ac30cf5 100644 --- a/SwichGIT/HighscoreBD/index.php +++ b/SwichGIT/HighscoreBD/index.php @@ -22,30 +22,26 @@ - + + + +
+
+