From 4c297a1e5364bc74cde627178993f1e231c0220a Mon Sep 17 00:00:00 2001 From: loves2tu Date: Thu, 30 Dec 2021 05:04:36 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B5=AC=EA=B8=80=20=ED=8C=90=EB=A7=A4?= =?UTF-8?q?=EC=9E=90=EC=84=BC=ED=84=B0=20=ED=94=BC=EB=93=9C=20=20-=20?= =?UTF-8?q?=EB=B0=98=EB=B3=B5=EB=AC=B8=20=EB=B3=80=EC=88=98=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/price/google_feed.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shop/price/google_feed.php b/shop/price/google_feed.php index 42b37a606..e9d3ef1b2 100644 --- a/shop/price/google_feed.php +++ b/shop/price/google_feed.php @@ -32,15 +32,15 @@ $title = $channel->addChild("title", "쇼핑몰피드"); $link = $channel->addChild("link", G5_URL); $description = $channel->addChild("description", ""); -for ($i = 0; $row = sql_fetch_array($result); $i++ ) { +for ($i = 0; $row = sql_fetch_array($result); $i++) { $it_id = $row['it_id']; $it_title = $row['it_name']; $it_link = shop_item_url($row['it_id']); $it_basic = strip_tags($row['it_basic']); $it_image = ""; - for($i=1; $i<=10; $i++) { - $img = $row['it_img'.$i]; + for($j = 1; $j <= 10; $j++) { + $img = $row['it_img'.$j]; if(empty($img)) continue;