인기검색어 입력 관련 코드 변경
This commit is contained in:
1 parent
a18023c3cc
commit
1846a6f619
2 files changed
+2
-4
No files matched your search
@@ -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).")";
|
||||
|
||||
+1
-2
@@ -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).")";
|
||||
|
||||
Reference in new issue
Block a user