From 125c077fc42d0ac9942ebb1fcfb4fa61e20ecfb2 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Mon, 9 Jan 2023 23:53:43 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-rest/index.php b/api-rest/index.php index b82ca54..0a37493 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -7,7 +7,7 @@ $res = $conn->query("SELECT * FROM T_H_SKIN_SKI"); while ($une_valeur = $res->fetch_array()) { //echo $une_valeur["COUCOU_ID"]." ".$une_valeur["COUCOU_TEXT"]; - echo $une_valeur[0]; + echo json_encode($une_valeur); } exit;