From 035a8e11df183fd9714c616d8cde49a894aefbb1 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Tue, 10 Jan 2023 08:21:44 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'api-rest/index.php?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-rest/index.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/api-rest/index.php b/api-rest/index.php index 3da2dc7..e1332ec 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -1,9 +1,11 @@ query("DROP TABLE IF EXISTS `common_absences`;"); + $conn->query("INSERT INTO `T_H_SKIN_SKI` VALUES(NULL,'Bob Classic', 'https://codefirst.iut.uca.fr/git/BOB_PARTEAM/BOB_PARTY/raw/branch/typescript/bob_party/assets/BobsSkins/BobClassic.png', 0);"); + + + /* $conn->query("CREATE TABLE coucou (`COUCOU_ID` int(10) unsigned NOT NULL,`COUCOU_TEXT` char(10) NOT NULL);"); - $conn->query("INSERT INTO `coucou` VALUES(1,'TOTO');"); $res = $conn->query("SELECT * FROM coucou"); while ($une_valeur = $res->fetch_array()) {