인기검색어 입력 관련 코드 변경

This commit is contained in:
chicpro
2014-10-13 13:43:50 +09:00
parent a18023c3cc
commit 1846a6f619
2 changed files with 2 additions and 4 deletions

View File

@ -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).")";

View File

@ -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).")";