From 1846a6f619f30006914038747edeab4d41488ab1 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 13 Oct 2014 13:43:50 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B8=EA=B8=B0=EA=B2=80=EC=83=89=EC=96=B4?= =?UTF-8?q?=20=EC=9E=85=EB=A0=A5=20=EA=B4=80=EB=A0=A8=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/search.php | 3 +-- shop/search.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mobile/shop/search.php b/mobile/shop/search.php index 63396050e..584ea9952 100644 --- a/mobile/shop/search.php +++ b/mobile/shop/search.php @@ -62,8 +62,7 @@ if ($q) { $detail_where[] = $concat_fields." like '%$word%' "; // 인기검색어 - $sql = " insert into {$g5['popular_table']} set pp_word = '$word', pp_date = '".G5_TIME_YMD."', pp_ip = '{$_SERVER['REMOTE_ADDR']}' "; - sql_query($sql, FALSE); + insert_popular($concat, $word); } $where[] = "(".implode(" and ", $detail_where).")"; diff --git a/shop/search.php b/shop/search.php index b7be10224..ba61dc4e3 100644 --- a/shop/search.php +++ b/shop/search.php @@ -67,8 +67,7 @@ if ($q) { $detail_where[] = $concat_fields." like '%$word%' "; // 인기검색어 - $sql = " insert into {$g5['popular_table']} set pp_word = '$word', pp_date = '".G5_TIME_YMD."', pp_ip = '{$_SERVER['REMOTE_ADDR']}' "; - sql_query($sql, FALSE); + insert_popular($concat, $word); } $where[] = "(".implode(" and ", $detail_where).")";