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 ///