From d7bb9a89c52e75b91658018b765d2baed887b91d Mon Sep 17 00:00:00 2001 From: "Igor Barkov [iwork]" Date: Mon, 14 Jan 2019 16:56:24 +0200 Subject: [PATCH] make class greater --- test.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test.php b/test.php index b73007f..b4d3fec 100644 --- a/test.php +++ b/test.php @@ -30,9 +30,9 @@ while ($row = $result->fetch_assoc()) { $iteminfo[] = new ShopItem($row); } -//while ($row = $result2->fetch_assoc()) { -// $iteminfo[] = new InventoryItem($row); -//} +while ($row = $result2->fetch_assoc()) { + $iteminfo[] = new InventoryItem($row); +} echo ""; foreach ($iteminfo as $ii) {