From 9efd55bb811fd11e511b0cb534ca7416816fcb66 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Tue, 10 Jan 2023 13:24:47 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'api-rest/gateways/?= =?UTF-8?q?userGateway.php'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-rest/gateways/userGateway.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api-rest/gateways/userGateway.php b/api-rest/gateways/userGateway.php index 04fc029..27f8db2 100644 --- a/api-rest/gateways/userGateway.php +++ b/api-rest/gateways/userGateway.php @@ -64,8 +64,10 @@ class UserGateway{ $this->connection->execQuery($skinsOfUserQuery,$argIdUser); $resSkin=$this->connection->getRes(); foreach($resSkin as $row){ + echo $row['PK_ID']; $tabSkin[]= new Skin($row['PK_ID'], $row['SKI_NAME'], $row['SKI_IMAGE'],$row['SKI_PRICE']); } + echo json_encode($tabSkin); return $tabSkin; }