From cf9b483e9748147eebd9dbfefaeaa6d9fc835578 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Tue, 10 Jan 2023 00:29:05 +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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api-rest/index.php b/api-rest/index.php index 6d8fda1..3da2dc7 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -1,4 +1,5 @@ query("DROP TABLE IF EXISTS `common_absences`;"); $conn->query("CREATE TABLE coucou (`COUCOU_ID` int(10) unsigned NOT NULL,`COUCOU_TEXT` char(10) NOT NULL);"); @@ -8,12 +9,14 @@ while ($une_valeur = $res->fetch_array()) { echo $une_valeur["COUCOU_ID"]." ".$une_valeur["COUCOU_TEXT"]; } - //exit; + exit; + */ //header('Access-Control-Allow-Origin: *'); //header('Access-Control-Allow-Methods: POST,GET,DELETE,PUT'); + /// Good to know : /// All the values must be cleaned on the application side before using this API ///